diff options
author | Jérémy Zurhcer <jeremy@asynk.ch> | 2014-09-21 21:35:23 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-22 10:10:27 +0200 |
commit | bb906f95bfa8b90d77e11201bf228b87b6060b3f (patch) | |
tree | 204ecd11399b87e12b134ba82c89392df32bf181 | |
parent | b1071adae593f94e6bae8b6e3daec2763ae73be6 (diff) | |
download | RustAndDust-bb906f95bfa8b90d77e11201bf228b87b6060b3f.zip RustAndDust-bb906f95bfa8b90d77e11201bf228b87b6060b3f.tar.gz |
remove left most column(turn counter) from the map
-rw-r--r-- | core/src/ch/asynk/tankontank/game/GameFactory.java | 4 | ||||
-rw-r--r-- | core/src/ch/asynk/tankontank/screens/GameScreen.java | 30 |
2 files changed, 17 insertions, 17 deletions
diff --git a/core/src/ch/asynk/tankontank/game/GameFactory.java b/core/src/ch/asynk/tankontank/game/GameFactory.java index e271f4b..64fbe9c 100644 --- a/core/src/ch/asynk/tankontank/game/GameFactory.java +++ b/core/src/ch/asynk/tankontank/game/GameFactory.java @@ -110,9 +110,9 @@ public class GameFactory private static Board.Config config() { Board.Config cfg = new Board.Config(); - cfg.cols = 11; + cfg.cols = 10; cfg.rows = 9; - cfg.x0 = 83; + cfg.x0 = 272; cfg.y0 = 182; cfg.w = 189; cfg.dw = 94; diff --git a/core/src/ch/asynk/tankontank/screens/GameScreen.java b/core/src/ch/asynk/tankontank/screens/GameScreen.java index 3d82ab9..bae00a1 100644 --- a/core/src/ch/asynk/tankontank/screens/GameScreen.java +++ b/core/src/ch/asynk/tankontank/screens/GameScreen.java @@ -81,23 +81,23 @@ public class GameScreen implements Screen debugShapes = new ShapeRenderer(); Board.Orientation o = Board.Orientation.NORTH; - addUnit(1, 7, o, UnitType.GE_AT_GUN); - addUnit(1, 6, o, UnitType.GE_INFANTRY); - addUnit(1, 5, o, UnitType.GE_KINGTIGER); - addUnit(1, 4, o, UnitType.GE_PANZER_IV); - addUnit(1, 3, o, UnitType.GE_PANZER_IV_HQ); - addUnit(1, 2, o, UnitType.GE_TIGER); - addUnit(1, 1, o, UnitType.GE_WESPE); + addUnit(0, 7, o, UnitType.GE_AT_GUN); + addUnit(0, 6, o, UnitType.GE_INFANTRY); + addUnit(0, 5, o, UnitType.GE_KINGTIGER); + addUnit(0, 4, o, UnitType.GE_PANZER_IV); + addUnit(0, 3, o, UnitType.GE_PANZER_IV_HQ); + addUnit(0, 2, o, UnitType.GE_TIGER); + addUnit(0, 1, o, UnitType.GE_WESPE); o = Board.Orientation.SOUTH; - addUnit(9, 7, o, UnitType.US_AT_GUN); - addUnit(9, 6, o, UnitType.US_INFANTRY); - addUnit(9, 5, o, UnitType.US_PERSHING); - addUnit(9, 4, o, UnitType.US_PERSHING_HQ); - addUnit(9, 3, o, UnitType.US_PRIEST); - addUnit(9, 2, o, UnitType.US_SHERMAN); - addUnit(9, 1, o, UnitType.US_SHERMAN_HQ); - addUnit(9, 0, o, UnitType.US_WOLVERINE); + addUnit(8, 7, o, UnitType.US_AT_GUN); + addUnit(8, 6, o, UnitType.US_INFANTRY); + addUnit(8, 5, o, UnitType.US_PERSHING); + addUnit(8, 4, o, UnitType.US_PERSHING_HQ); + addUnit(8, 3, o, UnitType.US_PRIEST); + addUnit(8, 2, o, UnitType.US_SHERMAN); + addUnit(8, 1, o, UnitType.US_SHERMAN_HQ); + addUnit(8, 0, o, UnitType.US_WOLVERINE); hud = new Stage(new ScreenViewport()); hud.addActor(fps); |