diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-01-07 10:26:46 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-01-07 10:26:46 +0100 |
commit | 58f155022dc0cd9e3f2edfdcc23e24e4f9771b13 (patch) | |
tree | bb2c1e132591d4458f48b472a1b961e8d49b8015 /core/src | |
parent | 46a68d468ce514efd50569369ffb21ad22e06727 (diff) | |
download | RustAndDust-58f155022dc0cd9e3f2edfdcc23e24e4f9771b13.zip RustAndDust-58f155022dc0cd9e3f2edfdcc23e24e4f9771b13.tar.gz |
StateMove: coding style
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/states/StateMove.java | 4 |
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) |