summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-01-07 10:26:46 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-01-07 10:26:46 +0100
commit58f155022dc0cd9e3f2edfdcc23e24e4f9771b13 (patch)
treebb2c1e132591d4458f48b472a1b961e8d49b8015 /core/src/ch/asynk/tankontank/game
parent46a68d468ce514efd50569369ffb21ad22e06727 (diff)
downloadRustAndDust-58f155022dc0cd9e3f2edfdcc23e24e4f9771b13.zip
RustAndDust-58f155022dc0cd9e3f2edfdcc23e24e4f9771b13.tar.gz
StateMove: coding style
Diffstat (limited to 'core/src/ch/asynk/tankontank/game')
-rw-r--r--core/src/ch/asynk/tankontank/game/states/StateMove.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StateMove.java b/core/src/ch/asynk/tankontank/game/states/StateMove.java
index be09ed6..63f1e0d 100644
--- a/core/src/ch/asynk/tankontank/game/states/StateMove.java
+++ b/core/src/ch/asynk/tankontank/game/states/StateMove.java
@@ -41,6 +41,7 @@ public class StateMove extends StateCommon
changeUnit(map.moveableUnits.get(0));
}
}
+
activeUnit.enableOverlay(Unit.MOVE, false);
}
@@ -54,9 +55,8 @@ public class StateMove extends StateCommon
activeUnit.hideMoveable();
map.hidePossibleMoves();
map.unselectHex(activeUnit.getHex());
- if (to != null) {
+ if (to != null)
map.hidePath(to);
- }
if (nextState != StateType.SELECT) {
if (to == null)