From 34127a1adc86c977563281da5310246dc99c4f98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 21 Oct 2014 16:40:05 +0200 Subject: Map: add clearActivablePawns() and clearActivatedPawns() --- core/src/ch/asynk/tankontank/game/Map.java | 10 ++++++++++ 1 file changed, 10 insertions(+) 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); -- cgit v1.1-2-g2b99