summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-12-18 15:22:44 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-12-18 15:22:44 +0100
commit8a7b9241d5c450cae0d473ace032cde0f05de2ad (patch)
tree59591fb467c53a3feccae0e73e22f9204a9ecf47
parent3900a5fffa4de943cdfc67f7352be48942b27482 (diff)
downloadRustAndDust-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.java5
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)