Commit 4ff79330 authored by Vitaliy Vashchenko's avatar Vitaliy Vashchenko

#768 Code refactoring.

parent 6bc3b5de
......@@ -423,6 +423,7 @@ public class RunesGame extends AbstractTablexiaGame<RunesGameState> {
private static final String PRELOADER_TEXT_KEY_1 = ApplicationTextManager.ApplicationTextsAssets.GAME_RUNES_PRELOADER_TEXT1;
private static final String PRELOADER_TEXT_KEY_2 = ApplicationTextManager.ApplicationTextsAssets.GAME_RUNES_PRELOADER_TEXT2;
private static final String PRELOADER_TEXT_KEY_3 = ApplicationTextManager.ApplicationTextsAssets.GAME_RUNES_PRELOADER_TEXT3;
private static final String PRELOADER_TEXT_KEY_DESKTOP = ApplicationTextManager.ApplicationTextsAssets.GAME_RUNES_PRELOADER_DESKTOP;
private static final Scaling PRELOADER_IMAGE_SCALING = Scaling.fit;
private static final int PRELOADER_TEXT_ALIGN = Align.left;
......@@ -462,6 +463,6 @@ public class RunesGame extends AbstractTablexiaGame<RunesGameState> {
@Override
protected String getDesktopPreloaderText() {
return ApplicationTextManager.getInstance().getText(ApplicationTextManager.ApplicationTextsAssets.GAME_RUNES_PRELOADER_DESKTOP);
return ApplicationTextManager.getInstance().getText(PRELOADER_TEXT_KEY_DESKTOP);
}
}
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