Crossfire JXClient, Trunk
R20561
|
Utility class to parse stat names. More...
Static Public Member Functions | |
static int | parseStat (@NotNull final String name) |
Converts a stat name into a stat index. More... | |
Private Member Functions | |
StatsParser () | |
Private constructor to prevent instantiation. More... | |
Static Private Attributes | |
static final Map< String, Integer > | STAT_TABLE = new HashMap<>() |
Maps stat names to stat index values. More... | |
Utility class to parse stat names.
Definition at line 32 of file StatsParser.java.
|
private |
Private constructor to prevent instantiation.
Definition at line 113 of file StatsParser.java.
|
static |
Converts a stat name into a stat index.
name | the stat name |
IllegalArgumentException | if the stat name is undefined |
Definition at line 122 of file StatsParser.java.
Referenced by com.realtime.crossfire.jxclient.skin.io.GaugeUpdaterParser.parseGaugeUpdater(), and com.realtime.crossfire.jxclient.skin.io.ParseUtils.parseStat().
|
staticprivate |
Maps stat names to stat index values.
Only stats useful in skin files are included.
Definition at line 39 of file StatsParser.java.