java.lang.Objectcom.realtime.crossfire.jxclient.gui.gauge.GaugeUpdater
com.realtime.crossfire.jxclient.gui.gauge.ActiveSkillGaugeUpdater
public class ActiveSkillGaugeUpdater
A GaugeUpdater which monitors a stat value.
| Field Summary | |
|---|---|
private java.lang.String |
skill
The skill name to monitor. |
private Stats |
stats
The stats instance to watch. |
private StatsListener |
statsListener
The StatsListener registered to be notified about stat changes. |
| Constructor Summary | |
|---|---|
ActiveSkillGaugeUpdater(ExperienceTable experienceTable,
java.lang.String skill,
Stats stats)
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 java.lang.String skill
@NotNull private final Stats stats
@NotNull private final StatsListener statsListener
StatsListener registered to be notified about stat changes.
| Constructor Detail |
|---|
public ActiveSkillGaugeUpdater(@NotNull
ExperienceTable experienceTable,
@NotNull
java.lang.String skill,
@NotNull
Stats stats)
experienceTable - the experience table to queryskill - the skill name to monitorstats - the instance to watch| Method Detail |
|---|
public void dispose()
dispose in class GaugeUpdater