Physics.P2.BodyDebug#countLiving()

countLiving() → {integer} Get the number of living children in this group. Returns integer - The number of children flagged as alive. Inherited From Phaser.Group#countLiving Source code: core/Group.js (Line 2326)

Physics.P2.BodyDebug#countDead()

countDead() → {integer} Get the number of dead children in this group. Returns integer - The number of children flagged as dead. Inherited From Phaser.Group#countDead Source code: core/Group.js (Line 2338)

Physics.P2.BodyDebug#contains()

contains(child) → {Boolean} Determines whether the specified display object is a child of the DisplayObjectContainer instance or the instance itself. Parameters Name Type Description child DisplayObject - Returns Boolean - Inherited From PIXI.DisplayObjectContainer#contains Source code: pixi/display/DisplayObjectContainer.js (Line 449)

Physics.P2.BodyDebug#classType

classType : Object The type of objects that will be created when using create or createMultiple. Any object may be used but it should extend either Sprite or Image and accept the same constructor arguments:when a new object is created it is passed the following parameters to its constructor: (game, x, y, key, frame). Inherited From Phaser.Group#classType Default Value Phaser.Sprite Source code: core/Group.js (Line 130)

Physics.P2.BodyDebug#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)

Physics.P2.BodyDebug#checkProperty()

checkProperty(child, key, value, force) → {boolean} Checks a property for the given value on the child. Parameters Name Type Argument Default Description child any The child to check the property value on. key array An array of strings that make up the property that will be set. value any The value that will be checked. force boolean <optional> false If force is true then the property will be checked on the child regardless if it already exists or not. If true an

Physics.P2.BodyDebug#checkAll()

checkAll(key, value, checkAlive, checkVisible, force) Quickly check that the same property across all children of this group is equal to the given value. This call doesn't descend down children, so if you have a Group inside of this group, the property will be checked on the group but not its children. Parameters Name Type Argument Default Description key string The property, as a string, to be set. For example: 'body.velocity.x' value any The value that will be checked. checkAli

Physics.P2.BodyDebug#centerY

centerY : number The center y coordinate of this Group. It is derived by calling getBounds, calculating the Groups dimensions based on itsvisible children. Inherited From Phaser.Group#centerY Source code: core/Group.js (Line 2733)

Physics.P2.BodyDebug#centerX

centerX : number The center x coordinate of this Group. It is derived by calling getBounds, calculating the Groups dimensions based on itsvisible children. Inherited From Phaser.Group#centerX Source code: core/Group.js (Line 2705)

Physics.P2.BodyDebug#canvas

canvas : Phaser.Graphics The canvas to render the debug info to. Source code: physics/p2/BodyDebug.js (Line 55)