summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/menu
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-11-05 09:43:07 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-11-05 09:43:07 +0100
commit9c3e23977e80a17153a0c908ba258a7ec0624741 (patch)
treeb45da5c2b374b8d079fe76355db2895d47d27ad6 /core/src/ch/asynk/rustanddust/menu
parent523bfbe43633931ef4d2a331969ee9d1a47b9fcd (diff)
downloadRustAndDust-9c3e23977e80a17153a0c908ba258a7ec0624741.zip
RustAndDust-9c3e23977e80a17153a0c908ba258a7ec0624741.tar.gz
menu/screens : use PlayMenu
Diffstat (limited to 'core/src/ch/asynk/rustanddust/menu')
-rw-r--r--core/src/ch/asynk/rustanddust/menu/MainMenu.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/src/ch/asynk/rustanddust/menu/MainMenu.java b/core/src/ch/asynk/rustanddust/menu/MainMenu.java
index 769adb3..ff65d50 100644
--- a/core/src/ch/asynk/rustanddust/menu/MainMenu.java
+++ b/core/src/ch/asynk/rustanddust/menu/MainMenu.java
@@ -13,7 +13,7 @@ public class MainMenu extends Menu
EXIT(0),
OPTIONS(1),
TUTORIALS(2),
- SCENARIOS(3),
+ PLAY(3),
NONE(4);
public int i;
Items(int i)
@@ -28,9 +28,9 @@ public class MainMenu extends Menu
{
super(Items.NONE, font, atlas.createPatch("typewriter"));
- label(Items.OPTIONS).write("Options");
+ label(Items.PLAY).write("Play");
label(Items.TUTORIALS).write("Tutorials");
- label(Items.SCENARIOS).write("Scenarios");
+ label(Items.OPTIONS).write("Options");
label(Items.EXIT).write("Exit");
this.visible = true;
@@ -49,8 +49,8 @@ public class MainMenu extends Menu
if (!visible) return ret;
- if (label(Items.SCENARIOS).hit(x, y)) {
- menuItem = Items.SCENARIOS;
+ if (label(Items.PLAY).hit(x, y)) {
+ menuItem = Items.PLAY;
ret = true;
} else if (label(Items.TUTORIALS).hit(x, y)) {
menuItem = Items.TUTORIALS;