diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-14 12:34:35 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-14 12:34:35 +0200 |
commit | ac7a1ccae0ce038c6d92feaba622b72f1a339226 (patch) | |
tree | fe75af90d3839f7e700c04939fc8577a9b063a0a /core/test/ch | |
parent | 6f1e3eeb6ca3971c3a209ec0dcbd2b5040c7db0b (diff) | |
download | RustAndDust-ac7a1ccae0ce038c6d92feaba622b72f1a339226.zip RustAndDust-ac7a1ccae0ce038c6d92feaba622b72f1a339226.tar.gz |
Pawn,Unit: add boolean isHqOf(Pawn), Player add boolean canPromote(Pawn)
Diffstat (limited to 'core/test/ch')
-rw-r--r-- | core/test/ch/asynk/tankontank/Helpers.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/test/ch/asynk/tankontank/Helpers.java b/core/test/ch/asynk/tankontank/Helpers.java index 518ccaf..c0cf64c 100644 --- a/core/test/ch/asynk/tankontank/Helpers.java +++ b/core/test/ch/asynk/tankontank/Helpers.java @@ -29,6 +29,7 @@ public class Helpers public int getAttackRangeFrom(Tile tile) { return 3; } public boolean isHq() { return true; } + public boolean isHqOf(Pawn other) { return true; } public boolean isUnit() { return true; } public boolean isEnemy(Pawn other) { return true; } |