Пример #1
0
 @Override
 public void draw() {
   super.draw();
   grid.draw(false);
   atomizer.draw();
   hud.draw();
 }
Пример #2
0
 @Override
 public void update() {
   hud.update();
   atomizer.update();
   if (atomizer.isDone()) {
     Game.mode.setMode(new PlayMode(grid, isResetting));
   }
   grid.updateTiles();
 }
Пример #3
0
 public Atomizer makeEnterAtomizer() {
   return new Atomizer(Player.makeSprite(), grid.getPlayerStart(), false);
 }
Пример #4
0
 public ToPlayMode(LevelIndex index, boolean isResetting) {
   this.grid = new Grid(index);
   this.atomizer = makeEnterAtomizer();
   this.hud = grid.makeHud();
   this.isResetting = isResetting;
 }