Class SkillLevelEvent


  • public final class SkillLevelEvent
    extends java.lang.Object
    Represents an event that captures changes in a skill's level, including the previous level, current level, and gained experience.
    • Constructor Detail

      • SkillLevelEvent

        public SkillLevelEvent​(Skill skill,
                               int previous,
                               int current,
                               int gained)
    • Method Detail

      • getSkill

        public Skill getSkill()
      • getPrevious

        public int getPrevious()
      • getCurrent

        public int getCurrent()
      • getGained

        public int getGained()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object