scale : Phaser.ScaleManager A reference
sound : Phaser.SoundManager A reference
preload() preload is called first. Normally you'd use this to load your game assets (or those needed for the current State)You
add : Phaser.GameObjectFactory
cache : Phaser.Cache A reference to the game cache which
init() init is the very first function called when your State starts up. It's called before preload, create or anything else.If
physics : Phaser.Physics A reference to the physics
shutdown() This method will be called when the State is shutdown (i.e. you switch to another state from this one).
stage : Phaser.Stage A reference to the Stage.
loadUpdate() loadUpdate is called during the Loader process. This only happens if you've set one or more assets to load in the preload
Page 2 of 4