Class ExperienceEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class ExperienceEvent
    extends ScriptEvent
    An event based on any experience/level changes in the game. Includes level ups, boost changes, experience gains
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ExperienceEvent​(int change, int type, Skill skill)  
    • Constructor Detail

      • ExperienceEvent

        public ExperienceEvent​(int change,
                               int type,
                               Skill skill)
    • Method Detail

      • getType

        public int getType()
      • getChange

        public int getChange()
      • getSkill

        public Skill getSkill()
      • dispatch

        public void dispatch​(java.util.EventListener eventListener)
        Specified by:
        dispatch in class ScriptEvent
      • toString

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