mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-26 15:07:14 +00:00
state->State
This commit is contained in:
parent
4d539fdda2
commit
b126ac28f4
|
@ -24,10 +24,10 @@ interface IStateChangingScriptedClass extends IScriptedClass
|
|||
public function onStateChangeBegin(event:StateChangeScriptEvent):Void;
|
||||
public function onStateChangeEnd(event:StateChangeScriptEvent):Void;
|
||||
|
||||
public function onSubstateOpenBegin(event:SubStateScriptEvent):Void;
|
||||
public function onSubstateOpenEnd(event:SubStateScriptEvent):Void;
|
||||
public function onSubstateCloseBegin(event:SubStateScriptEvent):Void;
|
||||
public function onSubstateCloseEnd(event:SubStateScriptEvent):Void;
|
||||
public function onSubStateOpenBegin(event:SubStateScriptEvent):Void;
|
||||
public function onSubStateOpenEnd(event:SubStateScriptEvent):Void;
|
||||
public function onSubStateCloseBegin(event:SubStateScriptEvent):Void;
|
||||
public function onSubStateCloseEnd(event:SubStateScriptEvent):Void;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -113,16 +113,16 @@ class ScriptEventDispatcher
|
|||
t.onStateChangeEnd(cast event);
|
||||
return;
|
||||
case ScriptEvent.SUBSTATE_OPEN_BEGIN:
|
||||
t.onSubstateOpenBegin(cast event);
|
||||
t.onSubStateOpenBegin(cast event);
|
||||
return;
|
||||
case ScriptEvent.SUBSTATE_OPEN_END:
|
||||
t.onSubstateOpenEnd(cast event);
|
||||
t.onSubStateOpenEnd(cast event);
|
||||
return;
|
||||
case ScriptEvent.SUBSTATE_CLOSE_BEGIN:
|
||||
t.onSubstateCloseBegin(cast event);
|
||||
t.onSubStateCloseBegin(cast event);
|
||||
return;
|
||||
case ScriptEvent.SUBSTATE_CLOSE_END:
|
||||
t.onSubstateCloseEnd(cast event);
|
||||
t.onSubStateCloseEnd(cast event);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue