Skip to content
Snippets Groups Projects
Commit c1f8c131 authored by Matyáš Latner's avatar Matyáš Latner
Browse files

#58 Main menu debug screen title resource key refactor

parent cfa8a6fa
No related merge requests found
......@@ -41,6 +41,7 @@ public class ApplicationTextManager extends TablexiaDataManager<I18NBundle> impl
public static final String MAINMENU_ENCYCLOPEDIA = "mainmenu_encyclopedia";
public static final String MAINMENU_ABOUT = "mainmenu_about";
public static final String MAINMENU_LOGOUT = "mainmenu_logout";
public static final String MAINMENU_DEBUG = "mainmenu_screendebug";
public static final String GAME_ROBBERY_TITLE = "game_robbery_title";
public static final String GAME_ROBBERY_DESCRIPTION = "game_robbery_description";
......
......@@ -44,7 +44,7 @@ public enum MainMenuDefinition implements IMenuItem {
ApplicationBus.getInstance().post(new Tablexia.ChangeScreenEvent(TablexiaSettings.LOADER_SCREEN, TablexiaApplication.ScreenTransaction.FADE)).asynchronously();
}
},
SCREEN_DEBUG (true, new String[]{ApplicationAtlasManager.MAINMENU_ICON_ABOUT_UNPRESSED, ApplicationAtlasManager.MAINMENU_ICON_ABOUT_PRESSED}, "mainmenu_screendebug", null, AbstractMenu.MenuAction.CLOSE, new Tablexia.ChangeScreenEvent(ViewportDebugScreen.class, TablexiaApplication.ScreenTransaction.FADE));
SCREEN_DEBUG (true, new String[]{ApplicationAtlasManager.MAINMENU_ICON_ABOUT_UNPRESSED, ApplicationAtlasManager.MAINMENU_ICON_ABOUT_PRESSED}, ApplicationTextManager.ApplicationTextsAssets.MAINMENU_DEBUG, null, AbstractMenu.MenuAction.CLOSE, new Tablexia.ChangeScreenEvent(ViewportDebugScreen.class, TablexiaApplication.ScreenTransaction.FADE));
private static final Class<MainMenuItemGroup> MENU_ITEM_GROUP_CLASS = MainMenuItemGroup.class;
......
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