summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-16 16:21:55 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-16 16:21:55 +0100
commit8f1699ea63d0d70a59346348f70bab1c035bd614 (patch)
treea670acafb19332a566d052337581968537bb81f9 /core/src
parent77a2f3c56ff1f7faa9a60df239c35c502780b67f (diff)
downloadRustAndDust-8f1699ea63d0d70a59346348f70bab1c035bd614.zip
RustAndDust-8f1699ea63d0d70a59346348f70bab1c035bd614.tar.gz
Battles: cleanup
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/tankontank/game/battles/BattleFrontalAssault.java6
-rw-r--r--core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java6
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);