diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-07 23:34:40 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-07 23:34:40 +0200 |
commit | 8cf208a92b7d95fcee239413f4f6db8a067d6f8b (patch) | |
tree | b052b534ee705539a469d8203bc0718eecbdcdca /core/src/ch/asynk/tankontank/game | |
parent | 9ec2a47c29300a7db60d778bc737baf7fe17f692 (diff) | |
download | RustAndDust-8cf208a92b7d95fcee239413f4f6db8a067d6f8b.zip RustAndDust-8cf208a92b7d95fcee239413f4f6db8a067d6f8b.tar.gz |
Pawn,Unit: add isHq()
Diffstat (limited to 'core/src/ch/asynk/tankontank/game')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Unit.java | 6 |
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 0ececb2..3a61ab6 100644 --- a/core/src/ch/asynk/tankontank/game/Unit.java +++ b/core/src/ch/asynk/tankontank/game/Unit.java @@ -45,6 +45,12 @@ public class Unit extends HeadedPawn } @Override + public boolean isHq() + { + return hq; + } + + @Override public boolean isUnit() { return true; |