cache : Phaser.Cache A reference to the game cache which
stage : Phaser.Stage A reference to the Stage.
destroy() Removes all StateManager callback references to the State object, nulls the game reference and clears the States object.
preUpdate() preUpdate is called right at the start of the game loop. It is responsible for changing to a new state that was requested
onPauseUpdateCallback : Function This is called every frame while the game is paused.
init() init is the very first function called when your State starts up. It's called before preload, create or anything else.If
onPreloadCallback : Function This is called when the state starts to load assets. Source
getCurrentState() → {Phaser.State}
time : Phaser.Time A reference to the game clock and timed
restart(clearWorld, clearCache, parameter) Restarts the current State. State
Page 4 of 6