From 8791085611d8886af65ff0341fbe5273e53e1688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 9 Dec 2015 00:54:18 +0100 Subject: Ctrl: code reorder --- core/src/ch/asynk/rustanddust/game/Ctrl.java | 10 +++++----- 1 file 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); -- cgit v1.1-2-g2b99