public Game(KFrame kFrame, Properties properties, Cell[][] cells) { this.kFrame = kFrame; this.properties = properties; this.cells = cells; x = properties.BIGIN_CELL_X; y = properties.BEGIN_CELL_Y; kFrame.addKeyListener(keyListener); }