add : Phaser.GameObjectFactory
sound : Phaser.SoundManager A reference
scale : Phaser.ScaleManager 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
stage : Phaser.Stage A reference to the Stage.
shutdown() This method will be called when the State is shutdown (i.e. you switch to another state from this one).
init() init is the very first function called when your State starts up. It's called before preload, create or anything else.If
cache : Phaser.Cache A reference to the game cache which
physics : Phaser.Physics A reference to the physics
input : Phaser.Input A reference to the Input Manager
Page 2 of 4