Class StatGaugeUpdater
java.lang.Object
com.realtime.crossfire.jxclient.gui.gauge.GaugeUpdater
com.realtime.crossfire.jxclient.gui.gauge.StatGaugeUpdater
A
GaugeUpdater which monitors a stat value.-
Constructor Summary
ConstructorsConstructorDescriptionStatGaugeUpdater(@NotNull ExperienceTable experienceTable, int stat, @NotNull Stats stats, @NotNull ItemSet itemSet) Creates a new instance. -
Method Summary
Methods inherited from class com.realtime.crossfire.jxclient.gui.gauge.GaugeUpdater
getExperienceToNextLevel, getPercentsToNextLevel, setGauge, setValues, setValues
-
Constructor Details
-
StatGaugeUpdater
public StatGaugeUpdater(@NotNull @NotNull ExperienceTable experienceTable, int stat, @NotNull @NotNull Stats stats, @NotNull @NotNull ItemSet itemSet) Creates a new instance.- Parameters:
experienceTable- the experience table to querystat- the stat value to monitorstats- the instance to watchitemSet- the item set to watch
-
-
Method Details
-
dispose
public void dispose()Description copied from class:GaugeUpdaterFrees allocated resources.- Specified by:
disposein classGaugeUpdater
-