TilemapLayer#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)

TilemapLayer#getChildAt()

getChildAt(index) → {DisplayObject} Returns the child at the specified index Parameters Name Type Description index Number The index to get the child from Returns DisplayObject - The child at the given index, if any. Inherited From PIXI.DisplayObjectContainer#getChildAt Source code: pixi/display/DisplayObjectContainer.js (Line 153)

TilemapLayer#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

TilemapLayer#game

game : Phaser.Game A reference to the currently running Game. Inherited From Phaser.Component.Core#game Source code: gameobjects/components/Core.js (Line 142)

TilemapLayer#fresh

[readonly] fresh : boolean A Game Object is considered fresh if it has just been created or reset and is yet to receive a renderer transform update.This property is mostly used internally by the physics systems, but is exposed for the use of plugins. Inherited From Phaser.Component.Core#fresh Source code: gameobjects/components/Core.js (Line 248)

TilemapLayer#frameName

frameName : string Gets or sets the current frame name of the texture being used to render this Game Object. To change the frame set frameName to the name of the new frame in the texture atlas you wish this Game Object to use,for example: player.frameName = "idle". If the frame name given doesn't exist it will revert to the first frame found in the texture and throw a console warning. If you are using a sprite sheet then you should use the frame property instead. If you wish to fully replace

TilemapLayer#frame

frame : integer Gets or sets the current frame index of the texture being used to render this Game Object. To change the frame set frame to the index of the new frame in the sprite sheet you wish this Game Object to use,for example: player.frame = 4. If the frame index given doesn't exist it will revert to the first frame found in the texture. If you are using a texture atlas then you should use the frameName property instead. If you wish to fully replace the texture being used see loadTextur

TilemapLayer#fixedToCamera

fixedToCamera : boolean A Game Object that is "fixed" to the camera uses its x/y coordinates as offsets from the top left of the camera during rendering. The values are adjusted at the rendering stage, overriding the Game Objects actual world position. The end result is that the Game Object will appear to be 'fixed' to the camera, regardless of where in the game worldthe camera is viewing. This is useful if for example this Game Object is a UI item that you wish to be visible at all timesrega

TilemapLayer#exists

exists : boolean Controls if the core game loop and physics update this game object or not. Source code: tilemap/TilemapLayer.js (Line 115)

TilemapLayer#events

events : Phaser.Events All Phaser Game Objects have an Events class which contains all of the events that are dispatched when certain things happen to thisGame Object, or any of its components. Inherited From Phaser.Component.Core#events Source code: gameobjects/components/Core.js (Line 185) See Phaser.Events