MapFormat.addTileInfo

Adds TileInfo to a TileLayer from an array. Joins together multiple chunks with the same source identifier. (should be a path)

  1. void addTileInfo(int pri, TileInfo[] list, string source, string dpkSource)
    class MapFormat
    public @trusted
    void
    addTileInfo
    (
    int pri
    ,,
    string source
    ,
    string dpkSource = null
    )
  2. void addTileInfo(int pri, Tag t, string source, string dpkSource)

Parameters

pri int

Layer priority ID.

list TileInfo[]

An array of TileInfo, which need to be added to the document.

source string

The file origin of the tiles (file or DataPak path).

dpkSource string

Path to the DataPak file if it's used, null otherwise.

Meta