diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-13 00:33:15 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-13 00:33:15 +0200 |
commit | 1bc539674a7976d5a90675c3b83278135ecd468b (patch) | |
tree | 8cf0426924d3043365b70eb1f30b25007c98052a | |
parent | fd326b4a8fe67da09e960c4e2131bb2018ee1900 (diff) | |
download | RustAndDust-1bc539674a7976d5a90675c3b83278135ecd468b.zip RustAndDust-1bc539674a7976d5a90675c3b83278135ecd468b.tar.gz |
Map: add clearPossibleTargets()
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Map.java | 5 |
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); |