Group#getRandom()

getRandom(startIndex, length) → {any} Returns a random child from the group. Parameters Name Type Argument Default Description startIndex integer <optional> 0 Offset from the front of the group (lowest child). length integer <optional> (to top) Restriction on the number of values you want to randomly select from. Returns any - A random child of this Group. Source code: core/Group.js (Line 2350)

Physics.Ninja.AABB#projAABB_Half()

projAABB_Half(x, y, obj, t) → {number} Resolves Half tile collision. Parameters Name Type Description x number Penetration depth on the x axis. y number Penetration depth on the y axis. obj Phaser.Physics.Ninja.AABB The AABB involved in the collision. t Phaser.Physics.Ninja.Tile The Tile involved in the collision. Returns number - The result of the collision. Source code: physics/ninja/AABB.js (Line 510)

Gamepad#enabled

enabled : boolean Gamepad input will only be processed if enabled. Default Value true Source code: input/Gamepad.js (Line 52)

TileSprite#bottom

bottom : number The sum of the y and height properties.This is the same as y + height - offsetY. Inherited From Phaser.Component.Bounds#bottom Source code: gameobjects/components/Bounds.js (Line 168)

Camera#world

world : Phaser.World A reference to the game world. Source code: core/Camera.js (Line 30)

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

SinglePad#addCallbacks()

addCallbacks(context, callbacks) Add callbacks to this Gamepad to handle connect / disconnect / button down / button up / axis change / float value buttons. Parameters Name Type Description context object The context under which the callbacks are run. callbacks object Object that takes six different callbak methods:onConnectCallback, onDisconnectCallback, onDownCallback, onUpCallback, onAxisCallback, onFloatCallback Source code: input/SinglePad.js (Line 121)

Graphics#arc()

arc(cx, cy, radius, startAngle, endAngle, anticlockwise, segments) → {PIXI.Graphics} The arc method creates an arc/curve (used to create circles, or parts of circles). Parameters Name Type Description cx Number The x-coordinate of the center of the circle cy Number The y-coordinate of the center of the circle radius Number The radius of the circle startAngle Number The starting angle, in radians (0 is at the 3 o'clock position of the arc's circle) endAngle Number The ending angle,

FlexLayer#physicsBodyType

physicsBodyType : integer If enableBody is true this is the type of physics body that is created on new Sprites. The valid values are Phaser.Physics.ARCADE, Phaser.Physics.P2JS, Phaser.Physics.NINJA, etc. Inherited From Phaser.Group#physicsBodyType Source code: core/Group.js (Line 225)

Button#crop()

crop(rect, copy) Crop allows you to crop the texture being used to display this Game Object.Setting a crop rectangle modifies the core texture frame. The Game Object width and height properties will be adjusted accordingly. Cropping takes place from the top-left and can be modified in real-time either by providing an updated rectangle object to this method,or by modifying cropRect property directly and then calling updateCrop. The rectangle object given to this method can be either a Phaser.R