diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-12-30 21:48:26 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-12-30 21:48:26 +0100 |
commit | 30a62fe41ebbdd37c0aa91d6ef5223ac29276ca4 (patch) | |
tree | 02ad05a09f49561f17f54f41289d886af2ee3783 /core/src/ch/asynk/tankontank/game | |
parent | 9d5146d953453abda8cbbe35d4a42ea2ce198d90 (diff) | |
download | RustAndDust-30a62fe41ebbdd37c0aa91d6ef5223ac29276ca4.zip RustAndDust-30a62fe41ebbdd37c0aa91d6ef5223ac29276ca4.tar.gz |
TankOnTank: does the screen switching
Diffstat (limited to 'core/src/ch/asynk/tankontank/game')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Ctrl.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Ctrl.java b/core/src/ch/asynk/tankontank/game/Ctrl.java index 8d73df9..0d34d20 100644 --- a/core/src/ch/asynk/tankontank/game/Ctrl.java +++ b/core/src/ch/asynk/tankontank/game/Ctrl.java @@ -16,8 +16,6 @@ import ch.asynk.tankontank.game.states.StateReinforcement; import ch.asynk.tankontank.game.states.StateDeployment; import ch.asynk.tankontank.game.states.StateEscape; -import ch.asynk.tankontank.screens.OptionsScreen; - public class Ctrl implements Disposable { private final TankOnTank game; @@ -306,7 +304,7 @@ public class Ctrl implements Disposable public void endGame() { - game.setScreen(new OptionsScreen(game)); + game.switchToOptions(); } public void endPlayerTurn(boolean abort) |