summaryrefslogtreecommitdiffstats
path: root/core/test
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-14 12:34:35 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-14 12:34:35 +0200
commitac7a1ccae0ce038c6d92feaba622b72f1a339226 (patch)
treefe75af90d3839f7e700c04939fc8577a9b063a0a /core/test
parent6f1e3eeb6ca3971c3a209ec0dcbd2b5040c7db0b (diff)
downloadRustAndDust-ac7a1ccae0ce038c6d92feaba622b72f1a339226.zip
RustAndDust-ac7a1ccae0ce038c6d92feaba622b72f1a339226.tar.gz
Pawn,Unit: add boolean isHqOf(Pawn), Player add boolean canPromote(Pawn)
Diffstat (limited to 'core/test')
-rw-r--r--core/test/ch/asynk/tankontank/Helpers.java1
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; }