diff options
Diffstat (limited to 'core/src/ch')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/states/StateBreak.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StateBreak.java b/core/src/ch/asynk/tankontank/game/states/StateBreak.java index 55478a8..c70f70c 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateBreak.java +++ b/core/src/ch/asynk/tankontank/game/states/StateBreak.java @@ -23,10 +23,10 @@ public class StateBreak extends StateCommon public void leave(StateType nextState) { map.hideBreakPawns(); - map.unselectHex(to); + map.hideMove(to); map.hideDirections(to); map.hideOrientation(to); - if (activeUnit != null) map.unselectHex(activeUnit.getHex()); + if (activeUnit != null) map.hideMove(activeUnit.getHex()); } @Override @@ -41,8 +41,8 @@ public class StateBreak extends StateCommon Unit unit = upHex.getUnit(); if (map.breakPawns.contains(unit)) { activeUnit = unit; - map.selectHex(upHex); - map.selectHex(to); + map.showMove(upHex); + map.showMove(to); map.showDirections(to); map.hideBreakPawns(); } |