onUpdateCallback : Function This is called when the state is updated, every game loop. It doesn't happen during preload (@see
current : string The current active State object. Source code:
add : Phaser.GameObjectFactory
onLoadUpdateCallback : Function This is called when the State is updated during the preload phase.
onResizeCallback : Function This is called if ScaleManager.scalemode is RESIZE and a resize event occurs. It's passed the new width
onPauseUpdateCallback : Function This is called every frame while the game is paused.
add(key, state, autoStart) Adds a new State into the StateManager. You must give each State a unique key
cache : Phaser.Cache A reference to the game cache which
preUpdate() preUpdate is called right at the start of the game loop. It is responsible for changing to a new state that was requested
destroy() Removes all StateManager callback references to the State object, nulls the game reference and clears the States object.
Page 3 of 6