DisplayObjectContainer#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. Source code: pixi/display/DisplayObjectContainer.js (Line 42)

Cache#reloadSound()

reloadSound(key) Reload a Sound file from the server. Parameters Name Type Description key string The key of the asset within the cache. Source code: loader/Cache.js (Line 666)

World#wrap()

wrap(sprite, padding, useBounds, horizontal, vertical) This will take the given game object and check if its x/y coordinates fall outside of the world bounds.If they do it will reposition the object to the opposite side of the world, creating a wrap-around effect.If sprite has a P2 body then the body (sprite.body) should be passed as first parameter to the function. Please understand there are limitations to this method. For example if you have scaled the Worldthen objects won't always be re-

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

global#ANGLE_LEFT

<constant> ANGLE_LEFT : integer The Angle (in degrees) a Game Object needs to be set to in order to face left. Source code: Phaser.js (Line 346)

Events#onDragStart

onDragStart : Phaser.Signal This signal is dispatched if the Game Object has been inputEnabled and enableDrag has been set.It is sent when a Phaser.Pointer starts to drag the Game Object, taking into consideration the variousdrag limitations that may be set.It is sent four arguments:{any} The Game Object that received the event.{Phaser.Pointer} The Phaser.Pointer object that caused the event.{number} The x coordinate that the drag started from.{number} The y coordinate that the drag started f

Graphics#getLocalBounds()

getLocalBounds() → {Rectangle} Retrieves the non-global local bounds of the graphic shape as a rectangle. The calculation takes all visible children into consideration. Returns Rectangle - The rectangular bounding area Inherited From PIXI.Graphics#getLocalBounds Source code: pixi/primitives/Graphics.js (Line 936)

FlexLayer#resetChild()

resetChild(child, x, y, key, frame) → {DisplayObject} Takes a child and if the x and y arguments are given it calls child.reset(x, y) on it. If the key and optionally the frame arguments are given, it calls child.loadTexture(key, frame) on it. The two operations are separate. For example if you just wish to load a new texture then pass null as the x and y values. Parameters Name Type Argument Description child DisplayObject The child to reset and/or load the texture on. x number <o

Pointer.ERASER_BUTTON

[static] ERASER_BUTTON : number The Eraser pen button on PointerEvent supported devices only. Source code: input/Pointer.js (Line 412)

Particles.Arcade.Emitter#resetChild()

resetChild(child, x, y, key, frame) → {DisplayObject} Takes a child and if the x and y arguments are given it calls child.reset(x, y) on it. If the key and optionally the frame arguments are given, it calls child.loadTexture(key, frame) on it. The two operations are separate. For example if you just wish to load a new texture then pass null as the x and y values. Parameters Name Type Argument Description child DisplayObject The child to reset and/or load the texture on. x number <o