java.lang.Object com.realtime.crossfire.jxclient.gui.gauge.GaugeUpdater com.realtime.crossfire.jxclient.gui.gauge.SkillGaugeUpdater
public class SkillGaugeUpdater
A GaugeUpdater
which monitors a skill.
Field Summary | |
---|---|
private Skill |
skill
The monitored skill. |
private SkillListener |
skillListener
The SkillListener registered to be notified about skill changes. |
Constructor Summary | |
---|---|
SkillGaugeUpdater(ExperienceTable experienceTable,
Skill skill)
Creates a new instance. |
Method Summary | |
---|---|
void |
dispose()
Frees allocated resources. |
Methods inherited from class com.realtime.crossfire.jxclient.gui.gauge.GaugeUpdater |
---|
getExperienceToNextLevel, getPercentsToNextLevel, setGauge, setValues, setValues |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@NotNull private final Skill skill
@NotNull private final SkillListener skillListener
SkillListener
registered to be notified about skill changes.
Constructor Detail |
---|
public SkillGaugeUpdater(@NotNull ExperienceTable experienceTable, @NotNull Skill skill)
experienceTable
- the experience table to queryskill
- the skill to monitorMethod Detail |
---|
public void dispose()
dispose
in class GaugeUpdater