forked from External/mage
New game panel: new player info, centered hand, displaying poison counters, layout fix (Issue 25 fix), avatars, etc.
This commit is contained in:
parent
3710f275db
commit
08a4aa4aea
101 changed files with 571 additions and 117 deletions
|
|
@ -20,7 +20,7 @@ import java.util.regex.Pattern;
|
|||
|
||||
public class ManaSymbols {
|
||||
private static final Logger log = Logger.getLogger(ManaSymbols.class);
|
||||
static private final Map<String, Image> manaImages = new HashMap<String, Image>();
|
||||
static private final Map<String, BufferedImage> manaImages = new HashMap<String, BufferedImage>();
|
||||
static private final Map<String, Image> manaImagesOriginal = new HashMap<String, Image>();
|
||||
static private final Map<String, Image> setImages = new HashMap<String, Image>();
|
||||
static private Pattern replaceSymbolsPattern = Pattern.compile("\\{([^}/]*)/?([^}]*)\\}");
|
||||
|
|
@ -107,6 +107,10 @@ public class ManaSymbols {
|
|||
return manaImagesOriginal.get(symbol);
|
||||
}
|
||||
|
||||
static public BufferedImage getManaSymbolImageSmall(String symbol) {
|
||||
return manaImages.get(symbol);
|
||||
}
|
||||
|
||||
static public Image getSetSymbolImage(String set) {
|
||||
return setImages.get(set);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue