diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-01 14:08:17 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-01 14:08:17 +0200 |
commit | bf8de88fc7a2971e5f4fde1bcab5374336efb965 (patch) | |
tree | 38a6ce8b71cbead661419b4883216d363d0006fe /core/test/ch/asynk/tankontank | |
parent | fb6206137fa38e49ef4c42abafab354403630a4b (diff) | |
download | RustAndDust-bf8de88fc7a2971e5f4fde1bcab5374336efb965.zip RustAndDust-bf8de88fc7a2971e5f4fde1bcab5374336efb965.tar.gz |
Helpers: FakeBoard has a searchBoard
Diffstat (limited to 'core/test/ch/asynk/tankontank')
-rw-r--r-- | core/test/ch/asynk/tankontank/Helpers.java | 6 |
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 |