public class StatGaugeUpdater extends GaugeUpdater
GaugeUpdater
which monitors a stat value.Constructor and Description |
---|
StatGaugeUpdater(@NotNull ExperienceTable experienceTable,
int stat,
@NotNull Stats stats,
@NotNull ItemSet itemSet)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Frees allocated resources.
|
getExperienceToNextLevel, getPercentsToNextLevel, setGauge, setValues, setValues
public StatGaugeUpdater(@NotNull @NotNull ExperienceTable experienceTable, int stat, @NotNull @NotNull Stats stats, @NotNull @NotNull ItemSet itemSet)
experienceTable
- the experience table to querystat
- the stat value to monitorstats
- the instance to watchitemSet
- the item set to watchpublic void dispose()
GaugeUpdater
dispose
in class GaugeUpdater