mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-08-28 16:39:16 -04:00
First iteration of stable custom characters, plus some other neat changes.
This commit is contained in:
parent
1a85b4a1ce
commit
a7d338becb
36 changed files with 1744 additions and 812 deletions
|
@ -47,6 +47,16 @@ class ModuleHandler
|
|||
trace("[MODULEHANDLER] Module cache loaded.");
|
||||
}
|
||||
|
||||
public static function buildModuleCallbacks():Void
|
||||
{
|
||||
FlxG.signals.postStateSwitch.add(onStateSwitchComplete);
|
||||
}
|
||||
|
||||
static function onStateSwitchComplete():Void
|
||||
{
|
||||
callEvent(new StateChangeScriptEvent(ScriptEvent.STATE_CHANGE_END, FlxG.state, true));
|
||||
}
|
||||
|
||||
static function addToModuleCache(module:Module):Void
|
||||
{
|
||||
moduleCache.set(module.moduleId, module);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue