diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-13 17:24:15 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-13 17:24:15 +0200 |
commit | 209e390927fd961e4175fb889d1a4179263325c3 (patch) | |
tree | fe02db0b5c4533beb5b16494dafbc4ceb0c67966 /core/src | |
parent | 9f9cbe67653a6bfa0ba3e9b00b9a3d4317f086b9 (diff) | |
download | RustAndDust-209e390927fd961e4175fb889d1a4179263325c3.zip RustAndDust-209e390927fd961e4175fb889d1a4179263325c3.tar.gz |
Factory: fix HQ units
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Factory.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Factory.java b/core/src/ch/asynk/tankontank/game/Factory.java index d5d20c3..de23457 100644 --- a/core/src/ch/asynk/tankontank/game/Factory.java +++ b/core/src/ch/asynk/tankontank/game/Factory.java @@ -50,6 +50,7 @@ public class Factory implements Board.TileBuilder, Disposable { Unit u = null; Unit.UnitType ut = Unit.UnitType.HARD_TARGET; + Unit.UnitType utHq = Unit.UnitType.HARD_TARGET_HQ; switch(t) { case GE_AT_GUN: ut = Unit.UnitType.AT_GUN; @@ -66,7 +67,7 @@ public class Factory implements Board.TileBuilder, Disposable u = new Unit(Army.GE, ut, 2, 9, 2, pawnAtlas, "ge-panzer-iv", "head"); break; case GE_PANZER_IV_HQ: - u = new Unit(Army.GE, ut, 2, 9, 2, pawnAtlas, "ge-panzer-iv-hq", "head"); + u = new Unit(Army.GE, utHq, 2, 9, 2, pawnAtlas, "ge-panzer-iv-hq", "head"); break; case GE_TIGER: u = new Unit(Army.GE, ut, 3, 11, 1, pawnAtlas, "ge-tiger", "head"); @@ -86,7 +87,7 @@ public class Factory implements Board.TileBuilder, Disposable u = new Unit(Army.US, ut, 3, 10, 2, pawnAtlas, "us-pershing", "head"); break; case US_PERSHING_HQ: - u = new Unit(Army.US, ut, 3, 10, 2, pawnAtlas, "us-pershing-hq", "head"); + u = new Unit(Army.US, utHq, 3, 10, 2, pawnAtlas, "us-pershing-hq", "head"); break; case US_PRIEST: u = new Unit(Army.US, ut, 5, 8, 1, pawnAtlas, "us-priest", "head"); @@ -95,7 +96,7 @@ public class Factory implements Board.TileBuilder, Disposable u = new Unit(Army.US, ut, 2, 9, 2, pawnAtlas, "us-sherman", "us-sherman-head"); break; case US_SHERMAN_HQ: - u = new Unit(Army.US, ut, 2, 9, 2, pawnAtlas, "us-sherman-hq", "head"); + u = new Unit(Army.US, utHq, 2, 9, 2, pawnAtlas, "us-sherman-hq", "head"); break; case US_WOLVERINE: u = new Unit(Army.US, ut, 3, 8, 3, pawnAtlas, "us-wolverine", "head"); |