Constructor
# new TileLayerData(tileopt, directionopt, mirroropt, coloropt)
Create a tile layer data object
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
tile |
Number |
<optional> |
The tile to use, untextured if undefined | |
direction |
Number |
<optional> |
0 | Integer direction of tile, in 90 degree increments |
mirror |
Boolean |
<optional> |
0 | If the tile should be mirrored along the x axis |
color |
Color |
<optional> |
new Color(1,1,1) | Color of the tile |
- Source:
Methods
# clear()
Set this tile to clear, it will not be rendered
- Source: