summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-01-20 10:29:36 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-01-20 10:29:36 +0100
commit7459e4587cfb93f65312f324111bed6bf40d06fc (patch)
tree6e7a40102d306e53d0044894c6fdc179a3ad5b9b /core/src/ch
parent9293e6baae588cf8ce4d9c590c0ebd94ecb0b960 (diff)
downloadRustAndDust-7459e4587cfb93f65312f324111bed6bf40d06fc.zip
RustAndDust-7459e4587cfb93f65312f324111bed6bf40d06fc.tar.gz
BattleTest: add 2 objectives, call map.turnDone()
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/tankontank/game/battles/BattleTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/battles/BattleTest.java b/core/src/ch/asynk/tankontank/game/battles/BattleTest.java
index d4d891f..3127465 100644
--- a/core/src/ch/asynk/tankontank/game/battles/BattleTest.java
+++ b/core/src/ch/asynk/tankontank/game/battles/BattleTest.java
@@ -84,6 +84,8 @@ public class BattleTest extends BattleCommon
{
map.addObjective(6, 4, Army.NONE);
map.addHoldObjective(5, 3, Army.NONE);
+ map.addObjective(3, 4, Army.NONE);
+ map.addHoldObjective(3, 3, Army.NONE);
ctrl.player = gePlayer;
setUnit(map, gePlayer, UnitId.GE_TIGER, 6, 4, Orientation.NORTH, null);
@@ -113,5 +115,6 @@ public class BattleTest extends BattleCommon
setUnit(map, usPlayer, UnitId.US_SHERMAN, 6, 6, Orientation.NORTH_EAST, usExit);
setUnit(map, usPlayer, UnitId.US_INFANTRY, 5, 3, Orientation.NORTH_WEST, usExit);
usPlayer.turnEnd();
+ map.turnDone();
}
}