diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-12-18 15:22:44 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-12-18 15:22:44 +0100 |
commit | 8a7b9241d5c450cae0d473ace032cde0f05de2ad (patch) | |
tree | 59591fb467c53a3feccae0e73e22f9204a9ecf47 | |
parent | 3900a5fffa4de943cdfc67f7352be48942b27482 (diff) | |
download | RustAndDust-8a7b9241d5c450cae0d473ace032cde0f05de2ad.zip RustAndDust-8a7b9241d5c450cae0d473ace032cde0f05de2ad.tar.gz |
Ctrl: deploymentDone() notify the user and complete it's task
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Ctrl.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Ctrl.java b/core/src/ch/asynk/tankontank/game/Ctrl.java index f40690e..6dfa949 100644 --- a/core/src/ch/asynk/tankontank/game/Ctrl.java +++ b/core/src/ch/asynk/tankontank/game/Ctrl.java @@ -180,9 +180,8 @@ public class Ctrl implements Disposable private StateType deploymentDone() { - StateType nextState = this.state.done(); - turnDone(); - return nextState; + hud.notifyDeploymentDone(); + return this.state.done(); } public void setState(StateType nextState) |