diff options
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/tankontank/screens/GameScreen.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/src/ch/asynk/tankontank/screens/GameScreen.java b/core/src/ch/asynk/tankontank/screens/GameScreen.java index f059c08..c4d06be 100644 --- a/core/src/ch/asynk/tankontank/screens/GameScreen.java +++ b/core/src/ch/asynk/tankontank/screens/GameScreen.java @@ -41,7 +41,6 @@ public class GameScreen extends AbstractScreen private Image selectedHex; private Label fps; private Label camInfo; - private Label cellInfo; private Stage hud; private Stage gameStage; @@ -59,10 +58,8 @@ public class GameScreen extends AbstractScreen fps = new Label("FPS: 0", game.skin); camInfo = new Label("", game.skin); - cellInfo = new Label("", game.skin); fps.setPosition( 10, Gdx.graphics.getHeight() - 40); 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)); selectedHex = new Image(game.manager.get("images/hex.png", Texture.class)); @@ -79,8 +76,6 @@ public class GameScreen extends AbstractScreen hud = new Stage(new ScreenViewport()); hud.addActor(fps); hud.addActor(camInfo); - hud.addActor(cellInfo); - Gdx.input.setInputProcessor(getMultiplexer()); } @@ -177,7 +172,6 @@ public class GameScreen extends AbstractScreen fps.setText("FPS: " + Gdx.graphics.getFramesPerSecond()); camInfo.setText("Camera: " + (int) cam.position.y + " ; " + (int) cam.position.y + " x " + String.format("%.2f", cam.zoom)); - cellInfo.setText("Cell: " + cell.x + " ; " + cell.y); gameStage.act(delta); gameStage.draw(); |