summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/screens
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-09-21 10:06:53 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-09-21 10:06:53 +0200
commitf7264e865d49673df59c6f8f08e323db41f8894b (patch)
tree7312915c4d916c7b572e98b849c378cb0ecee040 /core/src/ch/asynk/tankontank/screens
parent8d43e91dcf005cf076fb3cd571f6125df5837c8d (diff)
downloadRustAndDust-f7264e865d49673df59c6f8f08e323db41f8894b.zip
RustAndDust-f7264e865d49673df59c6f8f08e323db41f8894b.tar.gz
update Map,Hex,Unit extends Board,Tile,Pawn fix GameScreen
Diffstat (limited to 'core/src/ch/asynk/tankontank/screens')
-rw-r--r--core/src/ch/asynk/tankontank/screens/GameScreen.java4
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);