diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-13 12:07:35 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-13 12:07:35 +0200 |
commit | 3ec8d212cf7c1242243ad8eba2f4c999d3b92cc3 (patch) | |
tree | 6f55429aaaa11162ead7c112193e76dde82dd10a /core/src | |
parent | d393c1f5ddb6e380f0e0bce517f9f7caaf7f810f (diff) | |
download | RustAndDust-3ec8d212cf7c1242243ad8eba2f4c999d3b92cc3.zip RustAndDust-3ec8d212cf7c1242243ad8eba2f4c999d3b92cc3.tar.gz |
Map: add int attackAssistsCount()
Diffstat (limited to 'core/src')
-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 31dbbf0..b03021a 100644 --- a/core/src/ch/asynk/tankontank/game/Map.java +++ b/core/src/ch/asynk/tankontank/game/Map.java @@ -83,6 +83,11 @@ public abstract class Map extends Board return activatedPawns.size(); } + public int attackAssistsCount() + { + return attackAssists.size(); + } + public boolean isInPossibleMoves(GridPoint2 hex) { return possibleMoves.contains(hex); |