public class GaugeUpdaterParser
extends java.lang.Object
GaugeUpdater
instances from string representations.Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
GaugeUpdaterParser(Stats stats,
ItemSet itemSet,
SkillSet skillSet)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
GaugeUpdater |
parseGaugeUpdater(java.lang.String name,
ExperienceTable experienceTable)
Parses a gauge updater value.
|
@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 queryjava.io.IOException
- if the gauge updater value does not exist