summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-21 16:40:05 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-21 16:40:05 +0200
commit34127a1adc86c977563281da5310246dc99c4f98 (patch)
tree6375e7a3d9a339b9005bd23333c32e0c38b12a28 /core
parent461313f5798d31bbac4738d7ea85a9772f48fd94 (diff)
downloadRustAndDust-34127a1adc86c977563281da5310246dc99c4f98.zip
RustAndDust-34127a1adc86c977563281da5310246dc99c4f98.tar.gz
Map: add clearActivablePawns() and clearActivatedPawns()
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/tankontank/game/Map.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java
index b69f359..c0b799d 100644
--- a/core/src/ch/asynk/tankontank/game/Map.java
+++ b/core/src/ch/asynk/tankontank/game/Map.java
@@ -77,6 +77,16 @@ public abstract class Map extends Board
clearPointVector(possibleTargets);
}
+ public void clearActivablePawns()
+ {
+ activablePawns.clear();
+ }
+
+ public void clearActivatedPawns()
+ {
+ activatedPawns.clear();
+ }
+
protected Hex getHex(int col, int row)
{
return (Hex) getTile(col, row);