loadTilemap

Load tilemaps

@safe
void
loadTilemap
(
T
)
(,,,
void delegate @trusted postprocess = null
)

Parameters

display Display

Display to place the tilemap in.

range T

Range of bytes containing map data.

offset Position

Optional position offset to apply to each cell. Ignores depth.

postprocess void delegate @trusted

A callback ran after adding each cell to the tilemap.

Meta