diff options
Diffstat (limited to 'core/src/ch')
-rw-r--r-- | core/src/ch/asynk/tankontank/screens/GameScreen.java | 3 |
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); |