StateManager#StateManager

new StateManager(game, pendingState) The State Manager is responsible for loading, setting up and switching game states. Parameters Name Type Argument Default Description game Phaser.Game A reference to the currently running game. pendingState Phaser.State | Object <optional> null A State object to seed the manager with. Source code: core/StateManager.js (Line 17)

StateManager#states

states : Object The object containing Phaser.States. Source code: core/StateManager.js (Line 27)

Strip#addChild()

addChild(child) → {DisplayObject} Adds a child to the container. Parameters Name Type Description child DisplayObject The DisplayObject to add to the container Returns DisplayObject - The child that was added. Inherited From PIXI.DisplayObjectContainer#addChild Source code: pixi/display/DisplayObjectContainer.js (Line 42)

Strip#addChildAt()

addChildAt(child, index) → {DisplayObject} Adds a child to the container at a specified index. If the index is out of bounds an error will be thrown Parameters Name Type Description child DisplayObject The child to add index Number The index to place the child in Returns DisplayObject - The child that was added. Inherited From PIXI.DisplayObjectContainer#addChildAt Source code: pixi/display/DisplayObjectContainer.js (Line 55)

Strip#blendMode

blendMode : number The blend mode to be applied to the sprite. Set to PIXI.blendModes.NORMAL to remove any blend mode. Default Value PIXI.blendModes.NORMAL; Source code: pixi/extras/Strip.js (Line 51)

Strip#canvasPadding

canvasPadding : number Triangles in canvas mode are automatically antialiased, use this value to force triangles to overlap a bit with each other. Source code: pixi/extras/Strip.js (Line 60)

Strip#children

[readonly] children : Array.<DisplayObject> [read-only] The array of children of this container. Type Array.<DisplayObject> Inherited From PIXI.DisplayObjectContainer#children Source code: pixi/display/DisplayObjectContainer.js (Line 17)

Strip#contains()

contains(child) → {Boolean} Determines whether the specified display object is a child of the DisplayObjectContainer instance or the instance itself. Parameters Name Type Description child DisplayObject - Returns Boolean - Inherited From PIXI.DisplayObjectContainer#contains Source code: pixi/display/DisplayObjectContainer.js (Line 449)

Strip#dirty

dirty : boolean Whether the strip is dirty or not Source code: pixi/extras/Strip.js (Line 43)

Strip#getBounds()

getBounds(matrix) → {Rectangle} Returns the bounds of the mesh as a rectangle. The bounds calculation takes the worldTransform into account. Parameters Name Type Description matrix Matrix the transformation matrix of the sprite Returns Rectangle - the framing rectangle Source code: pixi/extras/Strip.js (Line 405)