Java Code Examples for com.megacrit.cardcrawl.localization.UIStrings
The following examples show how to use
com.megacrit.cardcrawl.localization.UIStrings. These examples are extracted from open source projects.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: StSLib Source File: StSLib.java License: MIT License | 5 votes |
private void loadLangStrings(String language) { String path = "localization/stslib/" + language + "/"; BaseMod.loadCustomStringsFile(PowerStrings.class, path + "powers.json"); BaseMod.loadCustomStringsFile(RelicStrings.class, path + "relics.json"); try { BaseMod.loadCustomStringsFile(UIStrings.class, path + "ui.json"); } catch (GdxRuntimeException ignored) {} }