hot reloading (F5)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user