Package org.rspeer.game.script.event
Class ScriptStateEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.rspeer.event.Event<Script>
-
- org.rspeer.game.script.event.ScriptStateEvent
-
- All Implemented Interfaces:
Serializable
public class ScriptStateEvent extends Event<Script>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScriptStateEvent(Script script, Script.State newState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Script.State
getPreviousState()
Script.State
getState()
-
Methods inherited from class org.rspeer.event.Event
consume, getSource, isConsumed
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
ScriptStateEvent
public ScriptStateEvent(Script script, Script.State newState)
-
-
Method Detail
-
getPreviousState
public Script.State getPreviousState()
-
getState
public Script.State getState()
-
-