mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-27 07:27:12 +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 onStateChangeBegin(event:StateChangeScriptEvent):Void;
|
||||||
public function onStateChangeEnd(event:StateChangeScriptEvent):Void;
|
public function onStateChangeEnd(event:StateChangeScriptEvent):Void;
|
||||||
|
|
||||||
public function onSubstateOpenBegin(event:SubStateScriptEvent):Void;
|
public function onSubStateOpenBegin(event:SubStateScriptEvent):Void;
|
||||||
public function onSubstateOpenEnd(event:SubStateScriptEvent):Void;
|
public function onSubStateOpenEnd(event:SubStateScriptEvent):Void;
|
||||||
public function onSubstateCloseBegin(event:SubStateScriptEvent):Void;
|
public function onSubStateCloseBegin(event:SubStateScriptEvent):Void;
|
||||||
public function onSubstateCloseEnd(event:SubStateScriptEvent):Void;
|
public function onSubStateCloseEnd(event:SubStateScriptEvent):Void;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -113,16 +113,16 @@ class ScriptEventDispatcher
|
||||||
t.onStateChangeEnd(cast event);
|
t.onStateChangeEnd(cast event);
|
||||||
return;
|
return;
|
||||||
case ScriptEvent.SUBSTATE_OPEN_BEGIN:
|
case ScriptEvent.SUBSTATE_OPEN_BEGIN:
|
||||||
t.onSubstateOpenBegin(cast event);
|
t.onSubStateOpenBegin(cast event);
|
||||||
return;
|
return;
|
||||||
case ScriptEvent.SUBSTATE_OPEN_END:
|
case ScriptEvent.SUBSTATE_OPEN_END:
|
||||||
t.onSubstateOpenEnd(cast event);
|
t.onSubStateOpenEnd(cast event);
|
||||||
return;
|
return;
|
||||||
case ScriptEvent.SUBSTATE_CLOSE_BEGIN:
|
case ScriptEvent.SUBSTATE_CLOSE_BEGIN:
|
||||||
t.onSubstateCloseBegin(cast event);
|
t.onSubStateCloseBegin(cast event);
|
||||||
return;
|
return;
|
||||||
case ScriptEvent.SUBSTATE_CLOSE_END:
|
case ScriptEvent.SUBSTATE_CLOSE_END:
|
||||||
t.onSubstateCloseEnd(cast event);
|
t.onSubStateCloseEnd(cast event);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue