summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/tankontank/game/Unit.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Unit.java b/core/src/ch/asynk/tankontank/game/Unit.java
index 23a3248..11ab4e6 100644
--- a/core/src/ch/asynk/tankontank/game/Unit.java
+++ b/core/src/ch/asynk/tankontank/game/Unit.java
@@ -13,6 +13,7 @@ public class Unit extends HeadedPawn
public static final int MOVE = 0;
public static final int ATTACK = 1;
public static final int TARGET = 2;
+ public static final int ATTACK_ASSIST = 3;
public enum UnitType implements Pawn.PawnType
{
@@ -235,6 +236,11 @@ public class Unit extends HeadedPawn
enableOverlay(ATTACK, enable);
}
+ public void showAttackAssist(boolean enable)
+ {
+ enableOverlay(ATTACK_ASSIST, enable);
+ }
+
public void showTarget(boolean enable)
{
enableOverlay(TARGET, enable);