new State() This is a base State class which can be extended if you are creating your own game.It provides quick access to common
camera : Phaser.Camera A handy reference to World.camera
checkState(key) → {boolean} Checks if a given phaser state is valid. A State is considered valid
render() Nearly all display objects in Phaser render automatically, you don't need to tell them to render.However the render method
states : Object The object containing Phaser.States. Source code:
preload() preload is called first. Normally you'd use this to load your game assets (or those needed for the current State)You
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
onLoadUpdateCallback : Function This is called when the State is updated during the preload phase.
Page 2 of 6