mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
Added "E" to the to be replaced symbols with icon in rule text.
This commit is contained in:
parent
6ad012fa87
commit
e49c92e80c
1 changed files with 9 additions and 9 deletions
|
|
@ -43,7 +43,7 @@ public class ManaSymbols {
|
||||||
private static String cachedPath;
|
private static String cachedPath;
|
||||||
private static final String[] symbols = new String[]{"0", "1", "10", "11", "12", "15", "16", "2", "3", "4", "5", "6", "7", "8", "9", "B", "BG",
|
private static final String[] symbols = new String[]{"0", "1", "10", "11", "12", "15", "16", "2", "3", "4", "5", "6", "7", "8", "9", "B", "BG",
|
||||||
"BR", "G", "GU", "GW", "R", "RG", "RW", "S", "T", "U", "UB", "UR", "W", "WB", "WU",
|
"BR", "G", "GU", "GW", "R", "RG", "RW", "S", "T", "U", "UB", "UR", "W", "WB", "WU",
|
||||||
"WP", "UP", "BP", "RP", "GP", "X", "C"};
|
"WP", "UP", "BP", "RP", "GP", "X", "C", "E"};
|
||||||
|
|
||||||
public static void loadImages() {
|
public static void loadImages() {
|
||||||
renameSymbols(getSymbolsPath() + File.separator + "symbols");
|
renameSymbols(getSymbolsPath() + File.separator + "symbols");
|
||||||
|
|
@ -62,7 +62,7 @@ public class ManaSymbols {
|
||||||
Map<String, Image> rarityImages = new HashMap<>();
|
Map<String, Image> rarityImages = new HashMap<>();
|
||||||
setImages.put(set, rarityImages);
|
setImages.put(set, rarityImages);
|
||||||
|
|
||||||
for (String rarityCode: codes) {
|
for (String rarityCode : codes) {
|
||||||
File file = new File(getSymbolsPath() + Constants.RESOURCE_PATH_SET + set + "-" + rarityCode + ".jpg");
|
File file = new File(getSymbolsPath() + Constants.RESOURCE_PATH_SET + set + "-" + rarityCode + ".jpg");
|
||||||
try {
|
try {
|
||||||
Image image = UI.getImageIcon(file.getAbsolutePath()).getImage();
|
Image image = UI.getImageIcon(file.getAbsolutePath()).getImage();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue