Package org.rspeer.game.script.event
Class ScriptStateEvent
java.lang.Object
java.util.EventObject
org.rspeer.event.Event<org.rspeer.game.script.Script>
org.rspeer.game.script.event.ScriptStateEvent
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionScriptStateEvent
(org.rspeer.game.script.Script script, org.rspeer.game.script.Script.State newState) -
Method Summary
Modifier and TypeMethodDescriptionorg.rspeer.game.script.Script.State
org.rspeer.game.script.Script.State
getState()
Methods inherited from class org.rspeer.event.Event
consume, getSource, isConsumed
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
ScriptStateEvent
public ScriptStateEvent(org.rspeer.game.script.Script script, org.rspeer.game.script.Script.State newState)
-
-
Method Details
-
getPreviousState
public org.rspeer.game.script.Script.State getPreviousState() -
getState
public org.rspeer.game.script.Script.State getState()
-