Tile
Class: Phaser.Tile
Constructor
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 | Th |