diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-02-27 14:54:48 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-02-27 14:54:48 +0100 |
commit | be4fc4e8be38ab6f5a80fb779e49813cae4003d4 (patch) | |
tree | c59b5bb3cec2cd803602c72983778474f3280707 /core/src/ch/asynk/tankontank/screens/MenuScreen.java | |
parent | 43d56a0c4fe9916266238d7981ef6c761cc159d2 (diff) | |
download | RustAndDust-be4fc4e8be38ab6f5a80fb779e49813cae4003d4.zip RustAndDust-be4fc4e8be38ab6f5a80fb779e49813cae4003d4.tar.gz |
MainMenu: use ui.Menu
Diffstat (limited to 'core/src/ch/asynk/tankontank/screens/MenuScreen.java')
-rw-r--r-- | core/src/ch/asynk/tankontank/screens/MenuScreen.java | 8 |
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; } |