diff options
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Map.java | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java index b3b7427..b58a1eb 100644 --- a/core/src/ch/asynk/tankontank/game/Map.java +++ b/core/src/ch/asynk/tankontank/game/Map.java @@ -110,14 +110,18 @@ public abstract class Map extends Board } } - public void clearPossibles() + public void hidePaths() { + enablePossibleTargets(false); enablePossibleMoves(false); enablePossiblePaths(false, false); - enablePossibleTargets(false); + } + + public void resetPaths() + { clearNodesSet(possiblePaths); - // clearNodesVector(possibleMoves); - // clearNodesVector(possibleTargets); + clearNodesVector(possibleMoves); + clearNodesVector(possibleTargets); } public void toggleDotOverlay(GridPoint2 hex) |