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