summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-12-09 22:49:39 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-12-09 22:49:39 +0100
commit3e6e83e0554deeead39a7bbe3992451750e4cbda (patch)
tree1156b4999e566cff166a4e1d285162e673c69687 /core/src/ch/asynk/rustanddust
parentbe8c714f2f8404ad2c951e78e211146cfe64d933 (diff)
downloadRustAndDust-3e6e83e0554deeead39a7bbe3992451750e4cbda.zip
RustAndDust-3e6e83e0554deeead39a7bbe3992451750e4cbda.tar.gz
Ctrl: code reorder
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Ctrl.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Ctrl.java b/core/src/ch/asynk/rustanddust/game/Ctrl.java
index 8896101..656f067 100644
--- a/core/src/ch/asynk/rustanddust/game/Ctrl.java
+++ b/core/src/ch/asynk/rustanddust/game/Ctrl.java
@@ -144,6 +144,11 @@ public class Ctrl implements Disposable
// Hud callbacks
+ public void endGame()
+ {
+ game.switchToMenu();
+ }
+
public void showEntryZone()
{
if (stateType == StateType.DEPLOYMENT) {
@@ -159,11 +164,6 @@ public class Ctrl implements Disposable
turnDone();
}
- public void endGame()
- {
- game.switchToMenu();
- }
-
public void endPlayerTurn(boolean abort)
{
if (abort)