Component.InWorld#checkWorldBounds

checkWorldBounds : boolean If this is set to true the Game Object checks if it is within the World bounds each frame. When it is no longer intersecting the world bounds it dispatches the onOutOfBounds event. If it was previously out of bounds but is now intersecting the world bounds again it dispatches the onEnterBounds event. It also optionally kills the Game Object if outOfBoundsKill is true. When checkWorldBounds is enabled it forces the Game Object to calculate its full bounds every fram

Component.LoadTexture#resetFrame()

resetFrame() Resets the texture frame dimensions that the Game Object uses for rendering. Source code: gameobjects/components/LoadTexture.js (Line 232)

Particles.Arcade.Emitter#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)

Physics.P2.BodyDebug#replace()

replace(oldChild, newChild) → {any} Replaces a child of this Group with the given newChild. The newChild cannot be a member of this Group. If Group.enableBody is set, then a physics body will be created on the object, so long as one does not already exist. If Group.inputEnableChildren is set, then an Input Handler will be created on the object, so long as one does not already exist. Parameters Name Type Description oldChild any The child in this group that will be replaced. newChild any

Physics.P2.BodyDebug#height

height : number The height of the displayObjectContainer, setting this will actually modify the scale to achieve the value set Inherited From PIXI.DisplayObjectContainer#height Source code: pixi/display/DisplayObjectContainer.js (Line 600)

Device#canPlayAudio()

canPlayAudio(type) → {boolean} Check whether the host environment can play audio. Parameters Name Type Description type string One of 'mp3, 'ogg', 'm4a', 'wav', 'webm' or 'opus'. Returns boolean - True if the given file type is supported by the browser, otherwise false. Source code: utils/Device.js (Line 1250)

Tilemap#currentLayer

currentLayer : number The current layer. Source code: tilemap/Tilemap.js (Line 145)

Group#alignIn()

alignIn(container, position, offsetX, offsetY) → {Phaser.Group} Aligns this Group within another Game Object, or Rectangle, known as the'container', to one of 9 possible positions. The container must be a Game Object, or Phaser.Rectangle object. This can include propertiessuch as World.bounds or Camera.view, for aligning Groups within the worldand camera bounds. Or it can include other Sprites, Images, Text objects, BitmapText,TileSprites or Buttons. Please note that aligning a Group to anoth

Texture#height

height : number The height of the Texture in pixels. Source code: pixi/textures/Texture.js (Line 120)

TilingSprite#width

width : number The width of the sprite, setting this will actually modify the scale to achieve the value set Source code: pixi/extras/TilingSprite.js (Line 517)