summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-12-09 22:52:01 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-12-09 22:52:01 +0100
commit3f9ec5eedae4ba78105396775bb7ce2faf89f3d0 (patch)
treeb46cf15d7492c759b07f1e94c8886de8d785c773 /core/src
parent3e6e83e0554deeead39a7bbe3992451750e4cbda (diff)
downloadRustAndDust-3f9ec5eedae4ba78105396775bb7ce2faf89f3d0.zip
RustAndDust-3f9ec5eedae4ba78105396775bb7ce2faf89f3d0.tar.gz
Ctrl: code reorder
Diffstat (limited to 'core/src')
-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 656f067..bc81779 100644
--- a/core/src/ch/asynk/rustanddust/game/Ctrl.java
+++ b/core/src/ch/asynk/rustanddust/game/Ctrl.java
@@ -134,6 +134,11 @@ public class Ctrl implements Disposable
// State callbacks
+ public void setAfterAnimationState(StateType after)
+ {
+ stateAfterAnimation = after;
+ }
+
public boolean checkDeploymentDone()
{
boolean done = battle.isDeploymentDone();
@@ -292,11 +297,6 @@ public class Ctrl implements Disposable
}
- public void setAfterAnimationState(StateType after)
- {
- stateAfterAnimation = after;
- }
-
public void reinforcementHit()
{
if (this.stateType == StateType.SELECT)