new BodyDebug(game, body, settings) Draws a P2 Body to a Graphics instance for visual debugging.Needless to say, for every body
getBounds(targetCoordinateSpace) → {Rectangle} Retrieves the global
swapChildren(child, child2) Swaps the position of 2 Display Objects within this container. Parameters
bottom : number The bottom coordinate of this Group. It is derived by calling getBounds, calculating the Groups
filter(predicate, checkExists) → {Phaser
onChildInputUp : Phaser.Signal This Signal is dispatched
y : number The y coordinate of the group container. You can adjust the group container itself by modifying its coordinates
name : string A name for this group. Not used internally but useful for debugging.
customSort(sortHandler, context) Sort the children in the group according to custom sort function.
centerX : number The center x coordinate of this Group. It is derived by calling getBounds, calculating the
Page 3 of 13