@Override public void draw() { super.draw(); grid.draw(false); atomizer.draw(); hud.draw(); }
@Override public void update() { hud.update(); atomizer.update(); if (atomizer.isDone()) { Game.mode.setMode(new PlayMode(grid, isResetting)); } grid.updateTiles(); }
public Atomizer makeEnterAtomizer() { return new Atomizer(Player.makeSprite(), grid.getPlayerStart(), false); }
public ToPlayMode(LevelIndex index, boolean isResetting) { this.grid = new Grid(index); this.atomizer = makeEnterAtomizer(); this.hud = grid.makeHud(); this.isResetting = isResetting; }