ITileLayer.loadMapping

Loads a mapping into the layer.

interface ITileLayer
@safe pure
void
loadMapping

Parameters

x int

width of the map.

y int

height of the map.

mapping MappingElement[]

an array representing the map.

Throws

MapFormatException if width and height doesn't represent the map.

Meta