Class ExperienceEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.dreambot.api.script.event.ScriptEvent
-
- org.dreambot.api.script.event.impl.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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispatch(java.util.EventListener eventListener)
int
getChange()
Skill
getSkill()
int
getType()
java.lang.String
toString()
-
Methods inherited from class org.dreambot.api.script.event.ScriptEvent
getTimestamp
-
-
-
-
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 classScriptEvent
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.util.EventObject
-
-