diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-15 23:21:45 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-15 23:21:45 +0200 |
commit | f978eb824ef0ac6cc934ca19672fef44982c425c (patch) | |
tree | 55096ffbf5198ec6b813a12573e41f48fd8629af /core/src/ch/asynk | |
parent | c09dc7241937b13904207e5ed7a60fcbfd2a82c1 (diff) | |
download | RustAndDust-f978eb824ef0ac6cc934ca19672fef44982c425c.zip RustAndDust-f978eb824ef0ac6cc934ca19672fef44982c425c.tar.gz |
GameScreen: remove camInfo
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r-- | core/src/ch/asynk/tankontank/screens/GameScreen.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/core/src/ch/asynk/tankontank/screens/GameScreen.java b/core/src/ch/asynk/tankontank/screens/GameScreen.java index 8f05039..b347741 100644 --- a/core/src/ch/asynk/tankontank/screens/GameScreen.java +++ b/core/src/ch/asynk/tankontank/screens/GameScreen.java @@ -40,7 +40,6 @@ public class GameScreen extends AbstractScreen private HexMap map; private Image selectedHex; private Label fps; - private Label camInfo; private Stage hud; private Stage gameStage; @@ -57,9 +56,7 @@ public class GameScreen extends AbstractScreen super(game); fps = new Label("FPS: 0", game.skin); - camInfo = new Label("", game.skin); fps.setPosition( 10, Gdx.graphics.getHeight() - 40); - camInfo.setPosition( 10, Gdx.graphics.getHeight() - 50); map = new HexMap(11, 9, game.manager.get("images/map_a.png", Texture.class)); selectedHex = new Image(game.manager.get("images/hex.png", Texture.class)); @@ -75,7 +72,6 @@ public class GameScreen extends AbstractScreen hud = new Stage(new ScreenViewport()); hud.addActor(fps); - hud.addActor(camInfo); Gdx.input.setInputProcessor(getMultiplexer()); } @@ -172,7 +168,6 @@ public class GameScreen extends AbstractScreen cam.update(); fps.setText("FPS: " + Gdx.graphics.getFramesPerSecond()); - camInfo.setText("Camera: " + (int) cam.position.y + " ; " + (int) cam.position.y + " x " + String.format("%.2f", cam.zoom)); gameStage.act(delta); gameStage.draw(); |