hot reloading (F5)

This commit is contained in:
Yoshman29
2022-11-02 02:23:45 +01:00
parent bf1e581479
commit dc03e378df
5 changed files with 32 additions and 1 deletions
+7
View File
@@ -128,6 +128,13 @@ class Script extends FlxBasic implements IFlxDestroyable {
curScript = oldScript;
}
/**
* Hot-reloads the script, if possible
*/
public function reload() {
}
/**
* Calls the function `func` defined in the script.
* @param func Name of the function