Commit 450fc84a authored by Matyáš Latner's avatar Matyáš Latner

#34 Debug menu item for panorama screen

parent 21e8a637
......@@ -16,6 +16,7 @@ mainmenu_preferences=Nastavení
mainmenu_about=O aplikaci
mainmenu_logout=Odhlásit
mainmenu_screendebug=Debug Screen
mainmenu_panorama=Panorama
gamedifficulty_easy=Lehká
gamedifficulty_medium=Střední
......
......@@ -16,6 +16,7 @@ mainmenu_preferences=Einstellung
mainmenu_about=Über die App
mainmenu_logout=Abmelden
mainmenu_screendebug=Debug Screen
mainmenu_panorama=Panorama
gamedifficulty_easy=Leicht
gamedifficulty_medium=Mittel
......
......@@ -16,6 +16,7 @@ mainmenu_preferences=Nastavenie
mainmenu_about=O aplikácií
mainmenu_logout=Odhlásiť
mainmenu_screendebug=Debug Screen
mainmenu_panorama=Panorama
gamedifficulty_easy=Ľahká
gamedifficulty_medium=Stredná
......
......@@ -11,6 +11,7 @@ import cz.nic.tablexia.bus.ApplicationBus.ApplicationEvent;
import cz.nic.tablexia.game.GameDefinition;
import cz.nic.tablexia.loader.application.ApplicationTextManager;
import cz.nic.tablexia.screen.about.AboutScreen;
import cz.nic.tablexia.screen.createuser.PanoramaScreen;
import cz.nic.tablexia.screen.encyclopedia.EncyclopediaScreen;
import cz.nic.tablexia.screen.halloffame.HallOfFameScreen;
import cz.nic.tablexia.screen.preferences.PreferencesScreen;
......@@ -27,7 +28,8 @@ public enum MainMenuDefinition implements IMenuItem {
PREFERENCES (false, "mainmenu_preferences", null, true, new Tablexia.ChangeScreenEvent(PreferencesScreen.class, TablexiaApplication.ScreenTransaction.FADE)),
ABOUT_APPLICATION (false, "mainmenu_about", null, true, new Tablexia.ChangeScreenEvent(AboutScreen.class, TablexiaApplication.ScreenTransaction.FADE)),
LOGOUT (false, "mainmenu_logout", null, true, null), // TODO specify event
SCREEN_DEBUG (true, "mainmenu_screendebug", null, true, new Tablexia.ChangeScreenEvent(ViewportDebugScreen.class, TablexiaApplication.ScreenTransaction.FADE));
PANORAMA (true, "mainmenu_panorama", null, true, new Tablexia.ChangeScreenEvent(PanoramaScreen.class, TablexiaApplication.ScreenTransaction.FADE)),
SCREEN_DEBUG (true, "mainmenu_screendebug", null, true, new Tablexia.ChangeScreenEvent(ViewportDebugScreen.class, TablexiaApplication.ScreenTransaction.FADE));
private boolean debug;
private String menuTextKey;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment