summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-01 14:08:17 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-01 14:08:17 +0200
commitbf8de88fc7a2971e5f4fde1bcab5374336efb965 (patch)
tree38a6ce8b71cbead661419b4883216d363d0006fe
parentfb6206137fa38e49ef4c42abafab354403630a4b (diff)
downloadRustAndDust-bf8de88fc7a2971e5f4fde1bcab5374336efb965.zip
RustAndDust-bf8de88fc7a2971e5f4fde1bcab5374336efb965.tar.gz
Helpers: FakeBoard has a searchBoard
-rw-r--r--core/test/ch/asynk/tankontank/Helpers.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/test/ch/asynk/tankontank/Helpers.java b/core/test/ch/asynk/tankontank/Helpers.java
index 2448c96..29e2969 100644
--- a/core/test/ch/asynk/tankontank/Helpers.java
+++ b/core/test/ch/asynk/tankontank/Helpers.java
@@ -1,8 +1,9 @@
package ch.asynk.tankontank;
-import ch.asynk.tankontank.engine.Board;
-import ch.asynk.tankontank.engine.Tile;
import ch.asynk.tankontank.engine.Pawn;
+import ch.asynk.tankontank.engine.Tile;
+import ch.asynk.tankontank.engine.Board;
+import ch.asynk.tankontank.engine.SearchBoard;
public class Helpers
{
@@ -68,6 +69,7 @@ public class Helpers
fakeTiles[39].offMap = true;
fakeTiles[59].offMap = true;
fakeTiles[79].offMap = true;
+ this.searchBoard = new SearchBoard(this, cols, rows);
}
@Override