new Tile(layer, index, x, y, width, height)
A Tile is a representation of a single tile within the Tilemap.
Parameters
Name Type Description layer object The layer in the Tilemap data that this tile belongs to. index number The index of this tile type in the core map data. x number The x coordinate of this tile. y number The y coordinate of this tile. width number Width of the tile. height number Height of the tile.
Source code: tilemap/Tile.js (Line 19)