public MazeLevel2(Incodr inc) { // hitbox = new Hitbox(); // stage = new Stage(); // this.amber = new AmberRenderer(); // this.worldUpdater = new AmberPositionUpdater(980,150, amber); // this.gameWorld = new MazeGameWorldRenderer(hitbox.getHitbox(2),2); // this.incodr = inc; super.setupCurrentLevel(inc); super.gameWorld = new MazeGameWorldRenderer(hitbox.getHitbox(2), 2); super.incodr.gameUI.codeEditor.setText( "incodr BEGIN;" + "moveLeft(5); moveUp(3); moveLeft(4); moveDown(4);" + " moveLeft(5); moveUp(7); moveRight(7); moveDown(3); moveRight(2);" + "incodr END;"); }
@Override public void dispose() { super.stage.dispose(); }