예제 #1
0
 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;");
 }
예제 #2
0
 @Override
 public void dispose() {
   super.stage.dispose();
 }