dtiled.data

Read and write data for <a href="mapeditor.org">Tiled</a> maps. Currently only supports JSON format.

Members

Aliases

TiledGid
alias TiledGid = uint

Underlying type used to represent Tiles Global IDentifiers. Note that a GID of 0 is used to indicate the abscence of a tile.

Enums

TiledFlag
enum TiledFlag

Flags set by Tiled in the guid field. Used to indicate mirroring and rotation.

Functions

cleanGid
TiledGid cleanGid(TiledGid gid)

Clear the TiledFlag portion of a GID, leaving just the tile id.

Structs

LayerData
struct LayerData

A layer of tiles within the map.

MapData
struct MapData

Top-level Tiled structure - encapsulates all data in the map file.

ObjectData
struct ObjectData

Represents an entity in an object layer.

TilesetData
struct TilesetData

A TilesetData maps GIDs (Global IDentifiers) to tiles.

Meta

Authors

<a href="https://github.com/rcorre">rcorre</a> * License: <a href="http://opensource.org/licenses/MIT">MIT</a> * Copyright: Copyright © 2015, Ryan Roden-Corrent