state scripting

This commit is contained in:
Yoshman29
2022-11-10 14:11:28 +01:00
parent 94d2a3c30d
commit 949b6dc9e5
6 changed files with 120 additions and 9 deletions
+2 -2
View File
@@ -98,11 +98,11 @@ interface PlayStateScript {
* Triggered on substate open.
* @param event Event object containing the substate, which is cancellable.
*/
public function onSubstateOpen(event:SubstateEvent):Void;
public function onSubstateOpen(event:StateEvent):Void;
/**
* Triggered on substate close.
* @param event Event object containing the substate, which is cancellable.
*/
public function onSubstateClose(event:SubstateEvent):Void;
public function onSubstateClose(event:StateEvent):Void;
}