summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/engine
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-17 16:28:57 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-17 16:28:57 +0100
commitc627381b64f2395cbef72c9225e3828d5e7693ec (patch)
treee870922d0d50d24c478b9d93f56b9c288866c646 /core/src/ch/asynk/tankontank/engine
parenta6e98214664d0628d43b8bd487888b61b6b9d1b3 (diff)
downloadRustAndDust-c627381b64f2395cbef72c9225e3828d5e7693ec.zip
RustAndDust-c627381b64f2395cbef72c9225e3828d5e7693ec.tar.gz
Pawn,Unit: add int getDefense(Tile)
Diffstat (limited to 'core/src/ch/asynk/tankontank/engine')
-rw-r--r--core/src/ch/asynk/tankontank/engine/Pawn.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Pawn.java b/core/src/ch/asynk/tankontank/engine/Pawn.java
index 16a74e6..ba4a2bd 100644
--- a/core/src/ch/asynk/tankontank/engine/Pawn.java
+++ b/core/src/ch/asynk/tankontank/engine/Pawn.java
@@ -110,6 +110,7 @@ public abstract class Pawn implements Moveable, Disposable
public abstract int getAngleOfAttack();
public abstract int getFlankSides();
public abstract int getEngagementRangeFrom(Tile tile);
+ public abstract int getDefense(Tile tile);
public abstract boolean isUnit();
public abstract boolean isA(PawnId id);