getTiles(x, y, width, height, collides, interestingFace) → {array.<
[readonly] tileHeight : integer The height of each tile (in pixels).
cameraOffset : Phaser.Point The x/y coordinate offset
setImage(image) Set the image associated with this Tileset and update the tile data. Parameters
getBounds(matrix) → {Rectangle} Returns the bounds of the Sprite as a rectangle.The bounds
alignIn(container, position, offsetX, offsetY)
layer : number | string | Phaser.TilemapLayer
random(x, y, width, height, layer) Randomises a set of tiles in a given area. Parameters
getTileBelow(layer, x, y) Gets the tile below the tile coordinates given.Mostly used as an internal function by calculateFaces
setCollision(indexes, collides, layer, recalculate)
Page 3 of 25