diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-15 21:44:14 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-15 21:44:14 +0200 |
commit | 2eb47f999c19b9274c511ca6898d8db56b253286 (patch) | |
tree | c0b0862f359f2df58ee401db5d531dcca92d6719 /core/src/ch | |
parent | 402c933456df6a256e6846e9338bb940e7e229c8 (diff) | |
download | RustAndDust-2eb47f999c19b9274c511ca6898d8db56b253286.zip RustAndDust-2eb47f999c19b9274c511ca6898d8db56b253286.tar.gz |
GameScreen: remove cellInfo
Diffstat (limited to 'core/src/ch')
-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(); |