onStateChange : Phaser.Signal onStateChange is a Phaser
sound : Phaser.SoundManager A reference
onResizeCallback : Function This is called if ScaleManager.scalemode is RESIZE and a resize event occurs. It's passed the new width
scale : Phaser.ScaleManager A reference
onLoadUpdateCallback : Function This is called when the State is updated during the preload phase.
stage : Phaser.Stage A reference to the Stage.
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
onCreateCallback : Function This is called when the state preload has finished and creation begins.
shutdown() This method will be called when the State is shutdown (i.e. you switch to another state from this one).
Page 3 of 6