summaryrefslogtreecommitdiffstats
path: root/core/test/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-13 12:06:52 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-13 12:06:52 +0200
commitd393c1f5ddb6e380f0e0bce517f9f7caaf7f810f (patch)
tree8e505b30c511bb870b889e6a4ca8e92c90867cda /core/test/ch
parent4b85e3f75e765a4240e2d206636824650074d26b (diff)
downloadRustAndDust-d393c1f5ddb6e380f0e0bce517f9f7caaf7f810f.zip
RustAndDust-d393c1f5ddb6e380f0e0bce517f9f7caaf7f810f.tar.gz
update tests
Diffstat (limited to 'core/test/ch')
-rw-r--r--core/test/ch/asynk/tankontank/Helpers.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/core/test/ch/asynk/tankontank/Helpers.java b/core/test/ch/asynk/tankontank/Helpers.java
index 6cda75f..8ff4343 100644
--- a/core/test/ch/asynk/tankontank/Helpers.java
+++ b/core/test/ch/asynk/tankontank/Helpers.java
@@ -63,11 +63,13 @@ public class Helpers
{
return offMap;
}
- public boolean blockLineOfSightFrom(Tile from) { return false; }
- public boolean atLeastOneMove(Pawn pawn) { return true; }
+ public int costFrom(Pawn pawn, Orientation side, boolean road) { return 1; }
+ public int defenseFor(Pawn pawn ,List<Pawn> foes) { return 8; }
+
public boolean road(Orientation side) { return false; }
+ public boolean atLeastOneMove(Pawn pawn) { return true; }
public boolean hasTargetsFor(Pawn pawn) { return false; }
- public int costFrom(Pawn pawn, Orientation side, boolean road) { return 1; }
+ public boolean blockLineOfSightFrom(Tile from) { return false; }
}
public static class FakeBoard extends Board