diff options
Diffstat (limited to 'test/src/ch/asynk/gdx/boardgame/test/MenuScreen.java')
-rw-r--r-- | test/src/ch/asynk/gdx/boardgame/test/MenuScreen.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/src/ch/asynk/gdx/boardgame/test/MenuScreen.java b/test/src/ch/asynk/gdx/boardgame/test/MenuScreen.java index be9ec72..c0052d4 100644 --- a/test/src/ch/asynk/gdx/boardgame/test/MenuScreen.java +++ b/test/src/ch/asynk/gdx/boardgame/test/MenuScreen.java @@ -9,6 +9,7 @@ import ch.asynk.gdx.boardgame.ui.Menu; public class MenuScreen extends AbstractScreen { + private final float WORLD_RATIO = 0.5f; private Sprite corner; private Menu menu; @@ -63,6 +64,11 @@ public class MenuScreen extends AbstractScreen corner.draw(batch); } + @Override public void resize(int width, int height) + { + resize(width, height, WORLD_RATIO); + } + @Override protected void onZoom(float dz) { } @Override protected void onDragged(int dx, int dy) { } @Override protected void onTouch(int x, int y) |