getCurrentState() → {Phaser.State}
restart(clearWorld, clearCache, parameter) Restarts the current State. State
onPreloadCallback : Function This is called when the state starts to load assets. Source
clearCurrentState() This method clears the current State, calling its shutdown callback. The process also removes any active tweens
onShutDownCallback : Function This is called when the state is shut down (i.e. swapped to another state).
onLoadRenderCallback : Function This is called when the State is rendered during the preload phase.
onResumedCallback : Function This is called when the game is resumed from a paused state.
game : Phaser.Game A reference to the currently running game
Page 3 of 3