Commit 8a82e27f authored by Vitaliy Vashchenko's avatar Vitaliy Vashchenko

#847 Code refactoring.

parent 64344be1
......@@ -402,22 +402,22 @@ public class SafeGame extends AbstractTablexiaGame<Void> {
}
////////////////////// PRELOAD MESSAGE
private static final String PRELOADER_ANIM_IMAGE = "preloader_anim1";
private static final int PRELOADER_ANIM_FRAMES = 17;
private static final float PRELOADER_ANIM_FRAME_DURATION = 0.4f;
private static final String PRELOADER_TEXT = ApplicationTextManager.ApplicationTextsAssets.GAME_SAFE_PRELOADER_TEXT;
private static final String PRELOADER_TEXT_HEADPHONES = ApplicationTextManager.ApplicationTextsAssets.GAME_SAFE_PRELOADER_HEADPHONES;
private static final Scaling PRELOADER_IMAGE_SCALING = Scaling.fit;
private static final Color PRELOADER_TEXT_COLOR = Color.DARK_GRAY;
private static final ApplicationFontManager.FontType FONT_TYPE = ApplicationFontManager.FontType.REGULAR_18;
private static final int PRELOADER_TEXT_ALIGN = Align.left;
private static final float PRELOADER_TEXT_PADDING = 10f;
private static final float PRELOADER_IMAGE_COLUMN_WIDTH_RATIO = 1f / 4;
private static final float PRELOADER_TEXT_COLUMN_WIDTH_RATIO = 5f / 8;
private static final float PRELOADER_ROW_HEIGHT = 1f / 3;
private static final String PRELOADER_HEADPHONES_IMAGE = "preloader_headphones";
private static final String PRELOADER_ANIM_IMAGE = "preloader_anim1";
private static final int PRELOADER_ANIM_FRAMES = 17;
private static final float PRELOADER_ANIM_FRAME_DURATION = 0.4f;
private static final String PRELOADER_TEXT = ApplicationTextManager.ApplicationTextsAssets.GAME_SAFE_PRELOADER_TEXT;
private static final String PRELOADER_TEXT_HEADPHONES = ApplicationTextManager.ApplicationTextsAssets.GAME_SAFE_PRELOADER_HEADPHONES;
private static final Scaling PRELOADER_IMAGE_SCALING = Scaling.fit;
private static final Color PRELOADER_TEXT_COLOR = Color.DARK_GRAY;
private static final ApplicationFontManager.FontType FONT_TYPE = ApplicationFontManager.FontType.REGULAR_18;
private static final int PRELOADER_TEXT_ALIGN = Align.left;
private static final float PRELOADER_TEXT_PADDING = 10f;
private static final float PRELOADER_IMAGE_COLUMN_WIDTH_RATIO = 1f / 4;
private static final float PRELOADER_TEXT_COLUMN_WIDTH_RATIO = 5f / 8;
private static final float PRELOADER_ROW_HEIGHT = 1f / 3;
private static final String PRELOADER_HEADPHONES_IMAGE = "preloader_headphones";
@Override
public void preparePreloaderContent(float width, float height, TablexiaApplication.PreloaderAssetsManager preloaderAssetsManager, List<TablexiaDialogComponentAdapter> components) {
......
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