summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-12-09 00:54:18 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-12-09 00:54:18 +0100
commit8791085611d8886af65ff0341fbe5273e53e1688 (patch)
tree6a610aad08cb84493d7fa9356f312fdb0e9ccf13 /core/src/ch
parentd00ce02aa2def042f0d4571de6ba43e2445db2a6 (diff)
downloadRustAndDust-8791085611d8886af65ff0341fbe5273e53e1688.zip
RustAndDust-8791085611d8886af65ff0341fbe5273e53e1688.tar.gz
Ctrl: code reorder
Diffstat (limited to 'core/src/ch')
-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 652462a..2f92542 100644
--- a/core/src/ch/asynk/rustanddust/game/Ctrl.java
+++ b/core/src/ch/asynk/rustanddust/game/Ctrl.java
@@ -87,11 +87,6 @@ public class Ctrl implements Disposable
map.dispose();
}
- public boolean isInAction()
- {
- return (state != selectState);
- }
-
public void animationsOver()
{
if (hud.dialogActive())
@@ -268,6 +263,11 @@ public class Ctrl implements Disposable
state.touchUp();
}
+ public boolean isInAction()
+ {
+ return (state != selectState);
+ }
+
public boolean isInAnimation()
{
return (this.stateType == StateType.ANIMATION);