TmxChunk
format.tmx.TmxChunk (Class)
This is currently added only for infinite maps. The contents of a chunk element is same as that of the data element, except it stores the data of the area specified in the attributes.
Instance Members
x: Int
The x coordinate of the chunk in tiles.
y: Int
The y coordinate of the chunk in tiles.
width: Int
The width of the chunk in tiles.
height: Int
The height of the chunk in tiles.
Decoded tile data
Name | Type | Description |
---|---|---|
x |
Int | The x coordinate of the chunk in tiles. |
y |
Int | The y coordinate of the chunk in tiles. |
width |
Int | The width of the chunk in tiles. |
height |
Int | The height of the chunk in tiles. |
tiles |
Array<TmxTile> | Decoded tile data |
Metadata
Name | Parameters |
---|---|
:structInit |
- |