Adds a layer to this map. This method is called internally by the library and the programmer typically does not need to call it.
The raw layer data.
Returns a layer by name.
The name of the layer.
The layer, or null if there is no layer with that name.
Returns a layer by index.
The index of the layer.
The layer, or null if there is no layer at that index.
Returns the number of layers in this map.
The number of layers in this map.
Returns the pixel height of this map.
The pixel height of this map.
Returns the pixel width of this map.
The pixel width of this map.
Removes a layer from this map.
The name of the layer to remove.
Whether a layer by that name was found.
Generated using TypeDoc
A 2d game map, generated in Tiled.