summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/screens
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/tankontank/screens')
-rw-r--r--core/src/ch/asynk/tankontank/screens/MenuScreen.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/ch/asynk/tankontank/screens/MenuScreen.java b/core/src/ch/asynk/tankontank/screens/MenuScreen.java
index ff2ece5..9486413 100644
--- a/core/src/ch/asynk/tankontank/screens/MenuScreen.java
+++ b/core/src/ch/asynk/tankontank/screens/MenuScreen.java
@@ -126,13 +126,13 @@ public class MenuScreen implements Screen
private void showNextMenu()
{
- MainMenu.Menu menu = mainMenu.getMenu();
+ MainMenu.Items item = mainMenu.getMenu();
- if (menu == MainMenu.Menu.OPTIONS)
+ if (item == MainMenu.Items.OPTIONS)
optionsMenu.visible = true;
- else if (menu == MainMenu.Menu.SCENARIOS)
+ else if (item == MainMenu.Items.SCENARIOS)
scenariosMenu.visible = true;
- else if (menu == MainMenu.Menu.TUTORIALS)
+ else if (item == MainMenu.Items.TUTORIALS)
tutorialsMenu.visible = true;
}