summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-13 00:33:15 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-13 00:33:15 +0200
commit1bc539674a7976d5a90675c3b83278135ecd468b (patch)
tree8cf0426924d3043365b70eb1f30b25007c98052a /core/src/ch/asynk
parentfd326b4a8fe67da09e960c4e2131bb2018ee1900 (diff)
downloadRustAndDust-1bc539674a7976d5a90675c3b83278135ecd468b.zip
RustAndDust-1bc539674a7976d5a90675c3b83278135ecd468b.tar.gz
Map: add clearPossibleTargets()
Diffstat (limited to 'core/src/ch/asynk')
-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);