collisionCallback : Function Tile collision callback. Source code:
bringToTop() → {PIXI.DisplayObject} Brings this Game Object to the top of its parents display list
forEach(callback, context, x, y, width, height, layer) For each tile in the given area defined by x/y
getTileRight(layer, x, y) Gets the tile to the right of the tile coordinates given.Mostly used as an internal function by calculateFaces
game : Phaser.Game A reference to the currently running Game
intersects(x, y, right, bottom) Check for intersection with this tile. Parameters
<static> parseJSON(json) → {object} Parses a Tiled JSON
fill(index, x, y, width, height, layer) Fills the given area with the specified tile. Parameters
tint : number The tint applied to the sprite. This is a hex value. A value of 0xFFFFFF will remove any tint effect.
getLocalBounds() → {Rectangle} Retrieves the non-global local bounds of the Sprite as a rectangle
Page 5 of 25