public class SkillGaugeUpdater extends GaugeUpdater
GaugeUpdater
which monitors a skill.Constructor and Description |
---|
SkillGaugeUpdater(@NotNull ExperienceTable experienceTable,
@NotNull Skill skill)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Frees allocated resources.
|
getExperienceToNextLevel, getPercentsToNextLevel, setGauge, setValues, setValues
public SkillGaugeUpdater(@NotNull @NotNull ExperienceTable experienceTable, @NotNull @NotNull Skill skill)
experienceTable
- the experience table to queryskill
- the skill to monitorpublic void dispose()
GaugeUpdater
dispose
in class GaugeUpdater