MapFormat.addTileInfo

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

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

Parameters

pri int

Layer priority ID.

t Tag

The SDL tag to be added to the Layer.

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