summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/tankontank/game/Unit.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Unit.java b/core/src/ch/asynk/tankontank/game/Unit.java
index 7419a10..df6c093 100644
--- a/core/src/ch/asynk/tankontank/game/Unit.java
+++ b/core/src/ch/asynk/tankontank/game/Unit.java
@@ -56,6 +56,11 @@ public class Unit extends HeadedPawn
this.hasFired = false;
}
+ public boolean isEnemy(Army other)
+ {
+ return army.isEnemy(other);
+ }
+
@Override
public int getMovementPoints()
{