World#getTop()

getTop() → {any} Return the child at the top of this group. The top child is the child displayed (rendered) above every other child. Returns any - The child at the top of the Group. Inherited From Phaser.Group#getTop Source code: core/Group.js (Line 2204)

Particles.Arcade.Emitter#getIndex()

getIndex(child) → {integer} Get the index position of the given child in this group, which should match the child's z property. Parameters Name Type Description child any The child to get the index for. Returns integer - The index of the child or -1 if it's not a member of this group. Inherited From Phaser.Group#getIndex Source code: core/Group.js (Line 1029)

GameObjectCreator#tilemap()

tilemap(key, tileWidth, tileHeight, width, height) Creates a new Phaser.Tilemap object. The map can either be populated with data from a Tiled JSON file or from a CSV file.To do this pass the Cache key as the first parameter. When using Tiled data you need only provide the key.When using CSV data you must provide the key and the tileWidth and tileHeight parameters.If creating a blank tilemap to be populated later, you can either specify no parameters at all and then use Tilemap.create or pass

Tilemap#imagecollections

imagecollections :array An array of Image Collections. Source code: tilemap/Tilemap.js (Line 110)

Text#precalculateWordWrap()

precalculateWordWrap(text) → {array} Runs the given text through the Text.runWordWrap function and returnsthe results as an array, where each element of the array corresponds to a wrappedline of text. Useful if you wish to control pagination on long pieces of content. Parameters Name Type Description text string The text for which the wrapping will be calculated. Returns array - An array of strings with the pieces of wrapped text. Source code: gameobjects/Text.js (Line 927)

Creature#getBounds()

getBounds(targetCoordinateSpace) → {Rectangle} Retrieves the global bounds of the displayObjectContainer as a rectangle. The bounds calculation takes all visible children into consideration. Parameters Name Type Argument Description targetCoordinateSpace PIXIDisplayObject | PIXIMatrix <optional> Returns a rectangle that defines the area of the display object relative to the coordinate system of the targetCoordinateSpace object. Returns Rectangle - The rectangular bounding area

Text#clearColors()

clearColors() → {Phaser.Text} Clears any text fill or stroke colors that were set by addColor or addStrokeColor. Returns Phaser.Text - This Text instance. Source code: gameobjects/Text.js (Line 797)

Polygon#area

area : number The area of this Polygon. Source code: geom/Polygon.js (Line 29)

Creature#kill()

kill() → {PIXI.DisplayObject} Kills a Game Object. A killed Game Object has its alive, exists and visible properties all set to false. It will dispatch the onKilled event. You can listen to events.onKilled for the signal. Note that killing a Game Object is a way for you to quickly recycle it in an object pool,it doesn't destroy the object or free it up from memory. If you don't need this Game Object any more you should call destroy instead. Returns PIXI.DisplayObject - This instance. I

Physics.Ninja.Tile#body

body Properties: Name Type Description system Phaser.Physics.Ninja.Body A reference to the body that owns this shape. Source code: physics/ninja/Tile.js (Line 32)