World#removeBetween()

removeBetween(startIndex, endIndex, destroy, silent) Removes all children from this group whose index falls beteen the given startIndex and endIndex values. Parameters Name Type Argument Default Description startIndex integer The index to start removing children from. endIndex integer <optional> The index to stop removing children at. Must be higher than startIndex. If undefined this method will remove all children between startIndex and the end of the group. destroy boolea

Sound#fadeTween

fadeTween : Phaser.Tween The tween that fades the audio, set via Sound.fadeIn and Sound.fadeOut. Source code: sound/Sound.js (Line 126)

Group#removeChildAt()

removeChildAt(index) → {DisplayObject} Removes a child from the specified index position. Parameters Name Type Description index Number The index to get the child from Returns DisplayObject - The child that was removed. Inherited From PIXI.DisplayObjectContainer#removeChildAt Source code: pixi/display/DisplayObjectContainer.js (Line 191)

Button#swapChildren()

swapChildren(child, child2) Swaps the position of 2 Display Objects within this container. Parameters Name Type Description child DisplayObject - child2 DisplayObject - Inherited From PIXI.DisplayObjectContainer#swapChildren Source code: pixi/display/DisplayObjectContainer.js (Line 85)

TileSprite#removeChildAt()

removeChildAt(index) → {DisplayObject} Removes a child from the specified index position. Parameters Name Type Description index Number The index to get the child from Returns DisplayObject - The child that was removed. Inherited From PIXI.DisplayObjectContainer#removeChildAt Source code: pixi/display/DisplayObjectContainer.js (Line 191)

RetroFont#setFixedWidth()

setFixedWidth(width, lineAlignment) If you need this RetroFont to have a fixed width and custom alignment you can set the width here.If text is wider than the width specified it will be cropped off. Parameters Name Type Argument Default Description width number Width in pixels of this RetroFont. Set to zero to disable and re-enable automatic resizing. lineAlignment string <optional> 'left' Align the text within this width. Set to RetroFont.ALIGN_LEFT (default), RetroFont.ALI

Physics.P2.Body#static

static : boolean Returns true if the Body is static. Setting Body.static to 'false' will make it dynamic. Source code: physics/p2/Body.js (Line 1516)

Color.interpolateRGB()

<static> interpolateRGB(r1, g1, b1, r2, g2, b2, steps, currentStep) → {number} Interpolates the two given colours based on the supplied step and currentStep properties. Parameters Name Type Description r1 number The red color value, between 0 and 0xFF (255). g1 number The green color value, between 0 and 0xFF (255). b1 number The blue color value, between 0 and 0xFF (255). r2 number The red color value, between 0 and 0xFF (255). g2 number The green color value, between 0 and

World#swap()

swap(child1, child2) Swaps the position of two children in this group. Both children must be in this group, a child cannot be swapped with itself, and unparented children cannot be swapped. Parameters Name Type Description child1 any The first child to swap. child2 any The second child to swap. Inherited From Phaser.Group#swap Source code: core/Group.js (Line 891)

Physics.Ninja#separate()

separate(body1, body2) → {boolean} The core separation function to separate two physics bodies. Parameters Name Type Description body1 Phaser.Physics.Ninja.Body The Body object to separate. body2 Phaser.Physics.Ninja.Body The Body object to separate. Returns boolean - Returns true if the bodies collided, otherwise false. Source code: physics/ninja/World.js (Line 567)