diff options
Diffstat (limited to 'core/src/ch/asynk/tankontank/screens')
-rw-r--r-- | core/src/ch/asynk/tankontank/screens/GameScreen.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/src/ch/asynk/tankontank/screens/GameScreen.java b/core/src/ch/asynk/tankontank/screens/GameScreen.java index b439cce..c88cbaf 100644 --- a/core/src/ch/asynk/tankontank/screens/GameScreen.java +++ b/core/src/ch/asynk/tankontank/screens/GameScreen.java @@ -31,7 +31,7 @@ import ch.asynk.tankontank.TankOnTank; import ch.asynk.tankontank.game.GameFactory; import ch.asynk.tankontank.game.GameFactory.UnitType; -import ch.asynk.tankontank.engine.Map; +import ch.asynk.tankontank.game.Map; import ch.asynk.tankontank.engine.Pawn; public class GameScreen implements Screen @@ -69,12 +69,10 @@ public class GameScreen implements Screen fps.setPosition( 10, Gdx.graphics.getHeight() - 40); map = GameFactory.getMap(game.manager, GameFactory.MapType.MAP_A); - map.setPosition(60, 60); mapBatch = new SpriteBatch(); cam = new OrthographicCamera(); cam.setToOrtho(false); - // cam.position.set((map.getWidth()/2), (map.getHeight()/2), 0); mapViewport = new FitViewport(map.getWidth(), map.getHeight(), cam); mapViewport.update(Gdx.graphics.getWidth(), Gdx.graphics.getHeight(), true); |