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

Math#wrapAngle()

wrapAngle(angle, radians) → {number} Keeps an angle value between -180 and +180; or -PI and PI if radians. Parameters Name Type Argument Default Description angle number The angle value to wrap radians boolean <optional> false Set to true if the angle is given in radians, otherwise degrees is expected. Returns number - The new angle value; will be the same as the input angle if it was within bounds. Source code: math/Math.js (Line 727)

FlexLayer#removeFromHash()

removeFromHash(child) → {boolean} Removes a child of this Group from the hash array.This call will return false if the child is not in the hash. Parameters Name Type Description child DisplayObject The display object to remove from this Groups hash. Must be a member of this Group and in the hash. Returns boolean - True if the child was successfully removed from the hash, otherwise false. Inherited From Phaser.Group#removeFromHash Source code: core/Group.js (Line 464)

Particles.Arcade.Emitter#reverse()

reverse() Reverses all children in this group. This operation applies only to immediate children and does not propagate to subgroups. Inherited From Phaser.Group#reverse Source code: core/Group.js (Line 1015)

Tile#copy()

copy(tile) Copies the tile data and properties from the given tile to this tile. Parameters Name Type Description tile Phaser.Tile The tile to copy from. Source code: tilemap/Tile.js (Line 305)

GameObjectCreator#audioSprite()

audioSprite(key) → {Phaser.AudioSprite} Creates a new AudioSprite object. Parameters Name Type Description key string The Game.cache key of the sound that this object will use. Returns Phaser.AudioSprite - The newly created AudioSprite object. Source code: gameobjects/GameObjectCreator.js (Line 134)

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

Rope#setScaleMinMax()

setScaleMinMax(minX, minY, maxX, maxY) Sets the scaleMin and scaleMax values. These values are used to limit how far this Game Object will scale based on its parent. For example if this Game Object has a minScale value of 1 and its parent has a scale value of 0.5, the 0.5 will be ignoredand the scale value of 1 will be used, as the parents scale is lower than the minimum scale this Game Object should adhere to. By setting these values you can carefully control how Game Objects deal with respo

Image#pendingDestroy

pendingDestroy : boolean A Game Object is that is pendingDestroy is flagged to have its destroy method called on the next logic update.You can set it directly to allow you to flag an object to be destroyed on its next update. This is extremely useful if you wish to destroy an object from within one of its own callbackssuch as with Buttons or other Input events. Inherited From Phaser.Component.Core#pendingDestroy Source code: gameobjects/components/Core.js (Line 259)

Canvas.getSmoothingPrefix()

<static> getSmoothingPrefix(context) → {string | null} Gets the Smoothing Enabled vendor prefix being used on the given context, or null if not set. Parameters Name Type Description context CanvasRenderingContext2D The context to enable or disable the image smoothing on. Returns string | null - Returns the smoothingEnabled vendor prefix, or null if not set on the context. Source code: utils/Canvas.js (Line 217)