summaryrefslogtreecommitdiffstats
path: root/core/test/ch/asynk
diff options
context:
space:
mode:
Diffstat (limited to 'core/test/ch/asynk')
-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