public interface StatsListener
extends java.util.EventListener
Stats
instances.Modifier and Type | Method and Description |
---|---|
void |
activeSkillChanged(@NotNull java.lang.String activeSkill)
The player's active skill has changed.
|
void |
experienceChanged(long exp)
The player's experience has changed.
|
void |
experienceNextLevelChanged(long expNextLevel)
The player's experience to reach the next level has changed.
|
void |
godNameChanged(@NotNull java.lang.String godName)
The player's god name has changed.
|
void |
rangeChanged(@NotNull java.lang.String range)
The player's range type has changed.
|
void |
resetAfter()
The stats instance is about to be reset.
|
void |
resetBefore()
The stats instance is about to be reset.
|
void |
simpleWeaponSpeedChanged(boolean simpleWeaponSpeed)
The "simple weapon speed" value has changed.
|
void |
statChanged(int statNo,
int value)
A stat value has changed.
|
void |
titleChanged(@NotNull java.lang.String title)
The player's title has changed.
|
void resetBefore()
void resetAfter()
void statChanged(int statNo, int value)
statNo
- the stat numbervalue
- the new stat valuevoid simpleWeaponSpeedChanged(boolean simpleWeaponSpeed)
simpleWeaponSpeed
- the new stat valuevoid titleChanged(@NotNull @NotNull java.lang.String title)
title
- the new titlevoid godNameChanged(@NotNull @NotNull java.lang.String godName)
godName
- the new godNamevoid rangeChanged(@NotNull @NotNull java.lang.String range)
range
- the new range typevoid activeSkillChanged(@NotNull @NotNull java.lang.String activeSkill)
activeSkill
- the new active skillvoid experienceChanged(long exp)
exp
- the new experiencevoid experienceNextLevelChanged(long expNextLevel)
expNextLevel
- the new experience