diff options
-rw-r--r-- | core/src/ch/asynk/tankontank/game/states/StateCommon.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StateCommon.java b/core/src/ch/asynk/tankontank/game/states/StateCommon.java index d775472..fbf0779 100644 --- a/core/src/ch/asynk/tankontank/game/states/StateCommon.java +++ b/core/src/ch/asynk/tankontank/game/states/StateCommon.java @@ -127,6 +127,11 @@ public abstract class StateCommon implements State map.enableOverlayOn(hex, Hex.ASSIST, enable); } + protected void showTarget(GridPoint2 hex, boolean enable) + { + map.enableOverlayOn(hex, Hex.TARGET, enable); + } + protected boolean sameHexes(GridPoint2 a, GridPoint2 b) { return ((a.x == b.x) && (a.y == b.y)); |