intersects(x, y, right, bottom) Check for intersection with this tile. Parameters
game : Phaser.Game A reference to the currently running Game
setLayer(layer) Sets the current layer to the given index. Parameters
[readonly] image : Object The cached image that contains the individual tiles. Use setImage
fill(index, x, y, width, height, layer) Fills the given area with the specified tile. Parameters
tilesets :array An array of Tilesets. Source code:
forEach(callback, context, x, y, width, height, layer) For each tile in the given area defined by x/y
angle : number The angle property is the rotation of the Game Object in degrees from its original orientation. Values
imagecollections :array An array of Image Collections. Source code:
getBounds(matrix) → {Rectangle} Returns the bounds of the Sprite as a rectangle.The bounds
Page 5 of 25