TiledMap
What readTiledMap returns.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
bounds |
PlaneBounds |
The rectangle the tiles cover, for a camera’s bounds. |
layers |
readonly TiledLayer[] |
Each tile layer in Tiled’s order, the first drawn first. |
objectLayers |
readonly TiledObjectLayer[] |
- |
properties |
TiledProperties |
- |
size |
readonly [number, number] |
Its width and height in metres, for the flat map under it. |
tileSets |
readonly TileSet[] |
The tile sets the layers draw with, an embedded one read over its handle, in the map’s order. |