summaryrefslogtreecommitdiffstats
path: root/core/test/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-11-21 12:12:01 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-11-21 12:12:01 +0100
commitdd2a21df1d9ca14710cbcc9953846cca341a64cf (patch)
tree095cde5fef5c7cbe6c9ff425cd09ae1718afbe86 /core/test/ch
parenta7c231188524f5b9c8ccb273397f5c271ca17a7a (diff)
downloadRustAndDust-dd2a21df1d9ca14710cbcc9953846cca341a64cf.zip
RustAndDust-dd2a21df1d9ca14710cbcc9953846cca341a64cf.tar.gz
tests: implement missing abstract methods
Diffstat (limited to 'core/test/ch')
-rw-r--r--core/test/ch/asynk/rustanddust/Helpers.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/test/ch/asynk/rustanddust/Helpers.java b/core/test/ch/asynk/rustanddust/Helpers.java
index 1f3878b..e209fbc 100644
--- a/core/test/ch/asynk/rustanddust/Helpers.java
+++ b/core/test/ch/asynk/rustanddust/Helpers.java
@@ -23,6 +23,7 @@ public class Helpers
@Override public int getDefense(Tile tile) { return 8; }
@Override public int getEngagementRangeFrom(Tile tile) { return 3; }
+ @Override public boolean preventDefenseOn(Tile tile) { return true; }
@Override public boolean isA(PawnId id) { return true; }
@Override public boolean isA(PawnType type) { return true; }
@@ -34,6 +35,7 @@ public class Helpers
@Override public boolean canMove() { return true; }
@Override public boolean canRotate() { return true; }
+ @Override public boolean canBreak() { return true; }
@Override public boolean canEngage() { return true; }
@Override public boolean canEngage(Pawn other) { return true; }
@Override public boolean canAssistEngagementWithoutLos() { return true; }
@@ -129,6 +131,8 @@ public class Helpers
pathBuilder = new PathBuilder(this, 10, 20, 5, 10);
}
+ @Override protected Board.Config getConfig() { return null; }
+
@Override public void animationsOver() {}
@Override