setScale(xScale, yScale) This method will set the scale of the tilemap as
getLocalBounds() → {Rectangle} Retrieves the non-global local bounds of the Sprite as a rectangle
height : number The height of the sprite, setting this will actually modify the scale to achieve the value set
[readonly] inCamera : boolean Checks if the Game Objects bounds intersect with the Game Camera
setChildIndex(child, index) Changes the position of an existing child in the display object container Parameters
getTiles(x, y, width, height, collides, interestingFace) → {array.<
right : number The right coordinate of the Game Object.This is the same as x + width - offsetX.
texture : PIXI.Texture The texture that the
alignIn(container, position, offsetX, offsetY)
maxHealth : number The Game Objects maximum health value. This works in combination with the heal method to ensure
Page 1 of 12