summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-09-14 22:36:54 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-09-14 22:36:54 +0200
commit711b0193dbefbaec96859fbafa735b217f401e77 (patch)
tree809009e68da816caef94c5b63d19479f18cd6ea3
parent0602d795f427652b5059269656e73a861b7091ac (diff)
downloadRustAndDust-711b0193dbefbaec96859fbafa735b217f401e77.zip
RustAndDust-711b0193dbefbaec96859fbafa735b217f401e77.tar.gz
GameScreen: HexMap is 11x9 not 10x8
-rw-r--r--core/src/ch/asynk/tankontank/screens/GameScreen.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/screens/GameScreen.java b/core/src/ch/asynk/tankontank/screens/GameScreen.java
index 1206950..5f185fe 100644
--- a/core/src/ch/asynk/tankontank/screens/GameScreen.java
+++ b/core/src/ch/asynk/tankontank/screens/GameScreen.java
@@ -50,7 +50,6 @@ public class GameScreen extends AbstractScreen
{
super(game);
- map = new HexMap(10, 8, game.manager.get("images/map_a.png", Texture.class));
fps = new Label("FPS: 0", game.skin);
camInfo = new Label("", game.skin);
cellInfo = new Label("", game.skin);
@@ -58,6 +57,8 @@ public class GameScreen extends AbstractScreen
camInfo.setPosition( 10, Gdx.graphics.getHeight() - 50);
cellInfo.setPosition( 10, Gdx.graphics.getHeight() - 70);
+ map = new HexMap(11, 9, game.manager.get("images/map_a.png", Texture.class));
+
cam = new OrthographicCamera();
cam.setToOrtho(false);
// cam.position.set((map.getWidth()/2), (map.getHeight()/2), 0);