Button#removeChild()

removeChild(child) → {DisplayObject} Removes a child from the container. Parameters Name Type Description child DisplayObject The DisplayObject to remove Returns DisplayObject - The child that was removed. Inherited From PIXI.DisplayObjectContainer#removeChild Source code: pixi/display/DisplayObjectContainer.js (Line 171)

Physics.P2.BodyDebug#addMultiple()

addMultiple(children, silent) → {Array.<DisplayObject> | Phaser.Group} Adds an array of existing Display Objects to this Group. The Display Objects are automatically added to the top of this Group, and will render on-top of everything already in this Group. As well as an array you can also pass another Group as the first argument. In this case all of the children from thatGroup will be removed from it and added into this Group. If Group.enableBody is set, then a physics body will be cre

Group#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)

Loader#getAsset()

getAsset(type, key) → {any} Find a file/asset with a specific key. Only assets in the download file queue will be found. Parameters Name Type Description type string The type asset you want to check. key string Key of the asset you want to check. Returns any - Returns an object if found that has 2 properties: index and file; otherwise a non-true value is returned. The index may change and should only be used immediately following this call. Source code: loader/Loader.js (Line 441

QuadTree#maxObjects

maxObjects : number The maximum number of objects per node. Default Value 10 Source code: math/QuadTree.js (Line 29)

BitmapData#blendDestinationIn()

blendDestinationIn() → {Phaser.BitmapData} Sets the blend mode to 'destination-in' Returns Phaser.BitmapData - This BitmapData object for method chaining. Source code: gameobjects/BitmapData.js (Line 2117)

Bullet#getChildIndex()

getChildIndex(child) → {Number} Returns the index position of a child DisplayObject instance Parameters Name Type Description child DisplayObject The DisplayObject instance to identify Returns Number - The index position of the child display object to identify Inherited From PIXI.DisplayObjectContainer#getChildIndex Source code: pixi/display/DisplayObjectContainer.js (Line 112)

Pointer#justReleased()

justReleased(duration) → {boolean} The Pointer is considered justReleased if the time it left the touchscreen is less than justReleasedRate.Note that calling justReleased doesn't reset the pressed status of the Pointer, it will return true for as long as the duration is valid.If you wish to check if the Pointer was released just once then see the Sprite.events.onInputUp event. Parameters Name Type Argument Description duration number <optional> The time to check against. If none giv

Point.interpolate()

<static> interpolate(a, b, f, out) → {Phaser.Point} Interpolates the two given Points, based on the f value (between 0 and 1) and returns a new Point. Parameters Name Type Argument Description a Phaser.Point The first Point object. b Phaser.Point The second Point object. f number The level of interpolation between the two points. Indicates where the new point will be, along the line between pt1 and pt2. If f=1, pt1 is returned; if f=0, pt2 is returned. out Phaser.Point

Point#setTo()

setTo(x, y) → {Phaser.Point} Sets the x and y values of this Point object to the given values.If you omit the y value then the x value will be applied to both, for example:Point.setTo(2) is the same as Point.setTo(2, 2) Parameters Name Type Argument Description x number The horizontal value of this point. y number <optional> The vertical value of this point. If not given the x value will be used in its place. Returns Phaser.Point - This Point object. Useful for chaining me