TilemapLayer#update()

update() Override this method in your own custom objects to handle any update requirements.It is called immediately after preUpdate and before postUpdate.Remember if this Game Object has any children you should call update on those too. Inherited From Phaser.Component.Core#update Source code: gameobjects/components/Core.js (Line 328)

RetroFont#RetroFont

new RetroFont(game, key, characterWidth, characterHeight, chars, charsPerRow, xSpacing, ySpacing, xOffset, yOffset) A Retro Font is similar to a BitmapFont, in that it uses a texture to render the text. However unlike a BitmapFont every character in a RetroFontis the same size. This makes it similar to a sprite sheet. You typically find font sheets like this from old 8/16-bit games and demos. Parameters Name Type Argument Default Description game Phaser.Game Current game instance. key

TilingSprite#swapChildren()

swapChildren(child, child2) Swaps the position of 2 Display Objects within this container. Parameters Name Type Description child DisplayObject - child2 DisplayObject - Inherited From PIXI.DisplayObjectContainer#swapChildren Source code: pixi/display/DisplayObjectContainer.js (Line 85)

World#World

new World(game) "This world is but a canvas to our imagination." - Henry David Thoreau A game has only one world. The world is an abstract place in which all game objects live. It is not boundby stage limits and can be any size. You look into the world via cameras. All game objects live withinthe world at world-based coordinates. By default a world is created the same size as your Stage. Parameters Name Type Description game Phaser.Game Reference to the current game instance. Source code

TimerEvent#callback

callback : Function The callback that will be called when the TimerEvent occurs. Source code: time/TimerEvent.js (Line 60)

Bullet#getChildIndex()

getChildIndex(child) → {Number} Returns the index position of a child DisplayObject instance Parameters Name Type Description child DisplayObject The DisplayObject instance to identify Returns Number - The index position of the child display object to identify Inherited From PIXI.DisplayObjectContainer#getChildIndex Source code: pixi/display/DisplayObjectContainer.js (Line 112)

Button#getBounds()

getBounds(matrix) → {Rectangle} Returns the bounds of the Sprite as a rectangle.The bounds calculation takes the worldTransform into account. It is important to note that the transform is not updated when you call this method.So if this Sprite is the child of a Display Object which has had its transformupdated since the last render pass, those changes will not yet have been appliedto this Sprites worldTransform. If you need to ensure that all parent transformsare factored into this getBounds

Button#removeChildren()

removeChildren(beginIndex, endIndex) Removes all children from this container that are within the begin and end indexes. Parameters Name Type Description beginIndex Number The beginning position. Default value is 0. endIndex Number The ending position. Default value is size of the container. Inherited From PIXI.DisplayObjectContainer#removeChildren Source code: pixi/display/DisplayObjectContainer.js (Line 213)

Circle#getBounds()

getBounds() → {Phaser.Rectangle} Returns the framing rectangle of the circle as a Phaser.Rectangle object. Returns Phaser.Rectangle - The bounds of the Circle. Source code: geom/Circle.js (Line 97)

Physics.P2.BodyDebug#addToHash()

addToHash(child) → {boolean} Adds a child of this Group into the hash array.This call will return false if the child is not a child of this Group, or is already in the hash. Parameters Name Type Description child DisplayObject The display object to add to this Groups hash. Must be a member of this Group already and not present in the hash. Returns boolean - True if the child was successfully added to the hash, otherwise false. Inherited From Phaser.Group#addToHash Source code: co