From 8f1699ea63d0d70a59346348f70bab1c035bd614 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sun, 16 Nov 2014 16:21:55 +0100 Subject: Battles: cleanup --- core/src/ch/asynk/tankontank/game/battles/BattleFrontalAssault.java | 6 ++---- core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/core/src/ch/asynk/tankontank/game/battles/BattleFrontalAssault.java b/core/src/ch/asynk/tankontank/game/battles/BattleFrontalAssault.java index 1297def..c4e760d 100644 --- a/core/src/ch/asynk/tankontank/game/battles/BattleFrontalAssault.java +++ b/core/src/ch/asynk/tankontank/game/battles/BattleFrontalAssault.java @@ -88,7 +88,7 @@ public class BattleFrontalAssault extends BattleCommon objectives.add(map.getHex(6, 1)); objectives.enable(Hex.OBJECTIVE, true); - EntryPoint geEntry = new EntryPoint(map, 10); + EntryPoint geEntry = new EntryPoint(map, 38); geEntry.orientation = Orientation.NORTH_WEST; for (int i = 2; i < 12; i++) geEntry.add(map.getHex(i, 4)); @@ -100,7 +100,6 @@ public class BattleFrontalAssault extends BattleCommon geEntry.add(map.getHex(i, 1)); addEntryPoint(geEntry); - Orientation o = Orientation.NORTH; addReinforcement(gePlayer, geEntry, UnitId.GE_TIGER); addReinforcement(gePlayer, geEntry, UnitId.GE_TIGER); addReinforcement(gePlayer, geEntry, UnitId.GE_PANZER_IV_HQ); @@ -110,7 +109,7 @@ public class BattleFrontalAssault extends BattleCommon addReinforcement(gePlayer, geEntry, UnitId.GE_PANZER_IV); addReinforcement(gePlayer, geEntry, UnitId.GE_PANZER_IV); - EntryPoint usEntry = new EntryPoint(map, 10); + EntryPoint usEntry = new EntryPoint(map, 19); usEntry.orientation = Orientation.SOUTH_EAST; for (int i = 4; i < 14; i++) usEntry.add(map.getHex(i, 8)); @@ -118,7 +117,6 @@ public class BattleFrontalAssault extends BattleCommon usEntry.add(map.getHex(i, 7)); addEntryPoint(usEntry); - o = Orientation.SOUTH; addReinforcement(usPlayer, usEntry, UnitId.US_PRIEST); addReinforcement(usPlayer, usEntry, UnitId.US_WOLVERINE); addReinforcement(usPlayer, usEntry, UnitId.US_WOLVERINE); diff --git a/core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java b/core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java index 2307486..8e9ed67 100644 --- a/core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java +++ b/core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java @@ -90,7 +90,7 @@ public class BattleHeadToHead extends BattleCommon objectives.add(map.getHex(6, 1)); objectives.enable(Hex.OBJECTIVE, true); - EntryPoint geEntry = new EntryPoint(map, 10); + EntryPoint geEntry = new EntryPoint(map, 9); geEntry.allowedMoves = (Orientation.NORTH.s | Orientation.NORTH_EAST.s | Orientation.NORTH_WEST.s); geEntry.add(map.getHex(0, 0)); geEntry.add(map.getHex(1, 1)); @@ -103,7 +103,6 @@ public class BattleHeadToHead extends BattleCommon geEntry.add(map.getHex(4, 8)); addEntryPoint(geEntry); - Orientation o = Orientation.NORTH; addReinforcement(gePlayer, geEntry, UnitId.GE_TIGER); addReinforcement(gePlayer, geEntry, UnitId.GE_TIGER); addReinforcement(gePlayer, geEntry, UnitId.GE_PANZER_IV_HQ); @@ -114,7 +113,7 @@ public class BattleHeadToHead extends BattleCommon addReinforcement(gePlayer, geEntry, UnitId.GE_PANZER_IV); - EntryPoint usEntry = new EntryPoint(map, 10); + EntryPoint usEntry = new EntryPoint(map, 9); usEntry.allowedMoves = (Orientation.SOUTH.s | Orientation.SOUTH_EAST.s | Orientation.SOUTH_WEST.s); usEntry.add(map.getHex(9, 0)); usEntry.add(map.getHex(9, 1)); @@ -127,7 +126,6 @@ public class BattleHeadToHead extends BattleCommon usEntry.add(map.getHex(13, 8)); addEntryPoint(usEntry); - o = Orientation.SOUTH; addReinforcement(usPlayer, usEntry, UnitId.US_PRIEST); addReinforcement(usPlayer, usEntry, UnitId.US_WOLVERINE); addReinforcement(usPlayer, usEntry, UnitId.US_WOLVERINE); -- cgit v1.1-2-g2b99