()
| 56 | private Texture holofoil; |
| 57 | |
| 58 | public Assets() { |
| 59 | String titleFilename = Forge.isLandscapeMode() ? "title_bg_lq.png" : "title_bg_lq_portrait.png"; |
| 60 | try { |
| 61 | //init titleLQ |
| 62 | if (GuiBase.isAndroid()) |
| 63 | getTexture(Gdx.files.internal("fallback_skin").child(titleFilename)); |
| 64 | else |
| 65 | getTexture(Gdx.files.classpath("fallback_skin").child(titleFilename)); |
| 66 | //init transition |
| 67 | if (GuiBase.isAndroid()) |
| 68 | getTexture(Gdx.files.internal("fallback_skin").child("transition.png")); |
| 69 | else |
| 70 | getTexture(Gdx.files.classpath("fallback_skin").child("transition.png")); |
| 71 | } catch (Exception e) { |
| 72 | fallback_skins().clear(); |
| 73 | fallback_skins().put("title", getDummy()); |
| 74 | fallback_skins().put("transition", getDummy()); |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | @Override |
| 79 | public void dispose() { |
nothing calls this directly
no test coverage detected