diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-08 11:59:59 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-08 11:59:59 +0200 |
commit | acdb3eefde378f1f34c101e9070f18a18d6f58a0 (patch) | |
tree | 6094fc986f7d65634bdbdc1f25b1493e88a32204 /core/test/ch/asynk/tankontank | |
parent | cc1630d6571a107f6d6edd7b9e57fe6eb8d4996b (diff) | |
download | RustAndDust-acdb3eefde378f1f34c101e9070f18a18d6f58a0.zip RustAndDust-acdb3eefde378f1f34c101e9070f18a18d6f58a0.tar.gz |
Pawn,Unit: add canMove() and canAttack()
Diffstat (limited to 'core/test/ch/asynk/tankontank')
-rw-r--r-- | core/test/ch/asynk/tankontank/Helpers.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/test/ch/asynk/tankontank/Helpers.java b/core/test/ch/asynk/tankontank/Helpers.java index e63f3d1..51fdc2e 100644 --- a/core/test/ch/asynk/tankontank/Helpers.java +++ b/core/test/ch/asynk/tankontank/Helpers.java @@ -21,6 +21,8 @@ public class Helpers public boolean isHq() { return true; } public boolean isUnit() { return true; } public boolean isEnemy(Pawn other) { return true; } + public boolean canMove() { return true; } + public boolean canAttack() { return true; } public boolean canAttack(Pawn other) { return true; } public int getAngleOfAttack() { return 0; } public int getAttackRangeFrom(Tile tile) { return 3; } |