CustomSubstate
| Kind | class |
| Package | psychlua |
| Full name | psychlua.CustomSubstate |
| Source | source/psychlua/CustomSubstate.hx |
| Extends | MusicBeatSubstate |
Public fields
| Name | Type | Static | Default | Notes |
|---|---|---|---|---|
name | String | yes | 'unnamed' | — |
instance | CustomSubstate | yes | — | — |
Public methods
implement
static function implement(funk:FunkinLua)
Only compiled when #if LUA_ALLOWED.
| Parameter | Type | Default |
|---|---|---|
funk | FunkinLua | — |
implementPython
static function implementPython(python:PythonScript)
Only compiled when #if PYTHON_ALLOWED.
| Parameter | Type | Default |
|---|---|---|
python | PythonScript | — |
implementHScript
static function implementHScript(hscript:HScript)
Only compiled when #if HSCRIPT_ALLOWED.
| Parameter | Type | Default |
|---|---|---|
hscript | HScript | — |
openCustomSubstate
static function openCustomSubstate(name:String, pauseGame:Bool = false)
| Parameter | Type | Default |
|---|---|---|
name | String | — |
pauseGame (optional) | Bool | false |
closeCustomSubstate
static function closeCustomSubstate()
insertToCustomSubstate
static function insertToCustomSubstate(tag:String, pos:Int = -1)
| Parameter | Type | Default |
|---|---|---|
tag | String | — |
pos (optional) | Int | -1 |
new (constructor)
function new(name:String)
| Parameter | Type | Default |
|---|---|---|
name | String | — |
Internals
Private / internal members
| Method |
|---|
override function create() |
override function update(elapsed:Float) |
override function destroy() |
static function callPlayStateHook(hook:String, args:Array<Dynamic>):Void |