summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-01-04 12:29:58 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-01-04 12:29:58 +0100
commit9b6b8257545b090e4bb4fd90c18369b32813c7fc (patch)
treec1f7074aa22aea5ab6236f362d0f73d2e4a50bbd
parentd4944b8655e8a5ec72c2f35671541a62ace993dc (diff)
downloadRustAndDust-9b6b8257545b090e4bb4fd90c18369b32813c7fc.zip
RustAndDust-9b6b8257545b090e4bb4fd90c18369b32813c7fc.tar.gz
MenuScreen: set label just at the left of from point
-rw-r--r--core/src/ch/asynk/rustanddust/screens/MenuScreen.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/screens/MenuScreen.java b/core/src/ch/asynk/rustanddust/screens/MenuScreen.java
index 3e0c77d..d7e861e 100644
--- a/core/src/ch/asynk/rustanddust/screens/MenuScreen.java
+++ b/core/src/ch/asynk/rustanddust/screens/MenuScreen.java
@@ -180,6 +180,7 @@ public class MenuScreen implements Screen
for (int i = 1; i < (n - 1); i++)
drawCentered(batch, move, xPath[i], yPath[i]);
drawCentered(batch, unit, (int) (x + dx), (int) (y + dy));
+ versionLabel.draw(batch);
batch.end();
batch.setProjectionMatrix(camera.uiCombined());
@@ -188,7 +189,6 @@ public class MenuScreen implements Screen
playMenu.draw(batch);
optionsMenu.draw(batch);
tutorialsMenu.draw(batch);
- versionLabel.draw(batch);
batch.end();
}
@@ -212,7 +212,7 @@ public class MenuScreen implements Screen
setCenteredPosition(usFlag, xPath[0], yPath[0]);
setCenteredPosition(geFlag, xPath[n - 1], yPath[n - 1]);
- versionLabel.setPosition(20, 10);
+ versionLabel.setPosition(xPath[0] - 190, yPath[0]);
mainMenu.setPosition();
playMenu.setPosition();
optionsMenu.setPosition();