MapFormat.addTileSourceFile

Adds a tile source file (file that contains the tiles) to a TileLayer.

class MapFormat
public @trusted
void
addTileSourceFile
(
int pri
,
string filename
,
string dataPakSrc = null
,
int palShift = 0
)

Parameters

pri int

Layer priority ID.

filename string

Path to the file.

dataPakSrc string

Path to the DataPak file if used, null otherwise.

palShift int

Amount of palette shiting, 0 for default.

Meta