java.lang.Object com.realtime.crossfire.jxclient.skin.io.GaugeUpdaterParser
public class GaugeUpdaterParser
Creates GaugeUpdater
instances from string representations.
Field Summary | |
---|---|
private ItemSet |
itemSet
The ItemSet to use. |
private SkillSet |
skillSet
The SkillSet for looking up skill names. |
private Stats |
stats
The Stats instance to use. |
Constructor Summary | |
---|---|
GaugeUpdaterParser(Stats stats,
ItemSet itemSet,
SkillSet skillSet)
Creates a new instance. |
Method Summary | |
---|---|
GaugeUpdater |
parseGaugeUpdater(java.lang.String name,
ExperienceTable experienceTable)
Parses a gauge updater value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@NotNull private final ItemSet itemSet
ItemSet
to use.
@NotNull private final SkillSet skillSet
SkillSet
for looking up skill names.
@NotNull private final Stats stats
Stats
instance to use.
Constructor Detail |
---|
public GaugeUpdaterParser(@NotNull Stats stats, @NotNull ItemSet itemSet, @NotNull SkillSet skillSet)
stats
- the stats instance to useitemSet
- the item set to useskillSet
- the skill set for looking up skill namesMethod Detail |
---|
@NotNull public GaugeUpdater parseGaugeUpdater(@NotNull java.lang.String name, @NotNull ExperienceTable experienceTable) throws java.io.IOException
name
- the gauge updater value to parseexperienceTable
- the experience table to query
java.io.IOException
- if the gauge updater value does not exist