summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r--core/src/ch/asynk/tankontank/game/Map.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java
index 1c1477c..ec94726 100644
--- a/core/src/ch/asynk/tankontank/game/Map.java
+++ b/core/src/ch/asynk/tankontank/game/Map.java
@@ -221,6 +221,11 @@ public abstract class Map extends Board
clearPointSet(possiblePaths);
}
+ public void clearPossibleTargets()
+ {
+ clearPointVector(possibleTargets);
+ }
+
public int movePawn(Pawn pawn, GridPoint2 from, Orientation o)
{
System.err.println(" movePawn : " + from.x + ";" + from.y + " " + o);