Button#removeChildren()

removeChildren(beginIndex, endIndex) Removes all children from this container that are within the begin and end indexes. Parameters Name Type Description beginIndex Number The beginning position. Default value is 0. endIndex Number The ending position. Default value is size of the container. Inherited From PIXI.DisplayObjectContainer#removeChildren Source code: pixi/display/DisplayObjectContainer.js (Line 213)

Weapon#trackSprite()

trackSprite(sprite, offsetX, offsetY, trackRotation) → {Phaser.Weapon} Sets this Weapon to track the given Sprite, or any Object with a public world Point object.When a Weapon tracks a Sprite it will automatically update its fireFrom value to match the Spritesposition within the Game World, adjusting the coordinates based on the offset arguments. This allows you to lock a Weapon to a Sprite, so that bullets are always launched from its location. Calling trackSprite will reset Weapon.trackedPo

FlexLayer#moveDown()

moveDown(child) → {any} Moves the given child down one place in this group unless it's already at the bottom. Parameters Name Type Description child any The child to move down in the group. Returns any - The child that was moved. Inherited From Phaser.Group#moveDown Source code: core/Group.js (Line 969)

Rope#bringToTop()

bringToTop() → {PIXI.DisplayObject} Brings this Game Object to the top of its parents display list.Visually this means it will render over the top of any old child in the same Group. If this Game Object hasn't been added to a custom Group then this method will bring it to the top of the Game World,because the World is the root Group from which all Game Objects descend. Returns PIXI.DisplayObject - This instance. Inherited From Phaser.Component.BringToTop#bringToTop Source code: gameo

Rope#body

body : Phaser.Physics.Arcade.Body | Phaser.Physics.P2.Body | Phaser.Physics.Ninja.Body | null body is the Game Objects physics body. Once a Game Object is enabled for physics you access all associatedproperties and methods via it. By default Game Objects won't add themselves to any physics system and their body property will be null. To enable this Game Object for physics you need to call game.physics.enable(object, system) where object is this objectand system is the Physics system you are u

Particles.Arcade.Emitter#setSize()

setSize(width, height) → {Phaser.Particles.Arcade.Emitter} A more compact way of setting the width and height of the emitter. Parameters Name Type Description width number The desired width of the emitter (particles are spawned randomly within these dimensions). height number The desired height of the emitter. Returns Phaser.Particles.Arcade.Emitter - This Emitter instance. Source code: particles/arcade/Emitter.js (Line 694)

Rope#renderOrderID

[readonly] renderOrderID : number The render order ID is used internally by the renderer and Input Manager and should not be modified.This property is mostly used internally by the renderers, but is exposed for the use of plugins. Inherited From Phaser.Component.Core#renderOrderID Source code: gameobjects/components/Core.js (Line 240)

CanvasRenderer#destroy()

destroy(removeView) Removes everything from the renderer and optionally removes the Canvas DOM element. Parameters Name Type Argument Default Description removeView Boolean <optional> true Removes the Canvas element from the DOM. Source code: pixi/renderers/canvas/CanvasRenderer.js (Line 194)

Particles.Arcade.Emitter#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)

Image#resizeFrame()

resizeFrame(parent, width, height) Resizes the Frame dimensions that the Game Object uses for rendering. You shouldn't normally need to ever call this, but in the case of special texture types such as Video or BitmapDatait can be useful to adjust the dimensions directly in this way. Parameters Name Type Description parent object The parent texture object that caused the resize, i.e. a Phaser.Video object. width integer The new width of the texture. height integer The new height of the