diff options
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Ctrl.java | 5 | ||||
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/states/StateDeployment.java | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Ctrl.java b/core/src/ch/asynk/rustanddust/game/Ctrl.java index 4bedf83..7b96ae5 100644 --- a/core/src/ch/asynk/rustanddust/game/Ctrl.java +++ b/core/src/ch/asynk/rustanddust/game/Ctrl.java @@ -146,6 +146,11 @@ public abstract class Ctrl implements Disposable stateAfterAnimation = after; } + public void unitDeployed() + { + battle.actionDone(); + } + // Hud callbacks public void endGame() diff --git a/core/src/ch/asynk/rustanddust/game/states/StateDeployment.java b/core/src/ch/asynk/rustanddust/game/states/StateDeployment.java index 516c058..a209b87 100644 --- a/core/src/ch/asynk/rustanddust/game/states/StateDeployment.java +++ b/core/src/ch/asynk/rustanddust/game/states/StateDeployment.java @@ -125,5 +125,7 @@ public class StateDeployment extends StateCommon ctrl.hud.playerInfo.unitDock.show(); if (ctrl.battle.isDeploymentDone()) ctrl.hud.askEndDeployment(); + else + ctrl.unitDeployed(); } } |