summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)