diff options
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Map.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java index 3bebf6d..3c648a9 100644 --- a/core/src/ch/asynk/tankontank/game/Map.java +++ b/core/src/ch/asynk/tankontank/game/Map.java @@ -67,6 +67,16 @@ public abstract class Map extends Board clearCoordinateVector(finalPath); } + public void clearPossiblePaths() + { + clearPointSet(possiblePaths); + } + + public void clearPossibleTargets() + { + clearPointVector(possibleTargets); + } + protected Hex getHex(int col, int row) { return (Hex) getTile(col, row); @@ -274,16 +284,6 @@ public abstract class Map extends Board return possiblePathsFilterToggle(hex, possiblePaths); } - public void clearPossiblePaths() - { - clearPointSet(possiblePaths); - } - - public void clearPossibleTargets() - { - clearPointVector(possibleTargets); - } - public boolean attackPawn(Pawn pawn, final Pawn target, GridPoint2 from, GridPoint2 to, int dice) { Hex hex = getHex(to.x, to.y); |