TiledSharp
0.9.1 r0
A .NET C# library for importing Tiled TMX tile maps
|
Tilesets for a TMX Map. More...
Public Member Functions | |
TmxTileset (XDocument xDoc, string tmxDir) | |
Tileset constructor for external TSX file. | |
TmxTileset (XElement xTileset, string tmxDir="") | |
Tileset constructor for TMX source element. | |
Properties | |
int | FirstGid [get, set] |
The global ID of the first tile in the tileset. | |
string | Name [get, set] |
Name of the tileset. | |
int | TileWidth [get, set] |
The (maximum) pixel width of the tiles. | |
int | TileHeight [get, set] |
The (maximum) pixel height of the tiles. | |
int | Spacing [get, set] |
The pixel spacing between tiles (excluding the margin) | |
int | Margin [get, set] |
The pixel margin (or border) of the tileset. | |
TmxTileOffset | TileOffset [get, set] |
Pixel offset when drawing a tile from a related tileset. | |
TmxImage | Image [get, set] |
Tileset image source. | |
TmxList< TmxTerrain > | Terrains [get, set] |
Terrain generation definitions. | |
List< TmxTilesetTile > | Tiles [get, set] |
Terrain generation tiles. | |
PropertyDict | Properties [get, set] |
User-defined tileset properties. | |
Properties inherited from TiledSharp.TmxDocument | |
string | TmxDirectory [get, set] |
Parent directory of TMX file. | |
Properties inherited from TiledSharp.ITmxElement | |
string | Name [get] |
Layer or element name. | |
Additional Inherited Members | |
Protected Member Functions inherited from TiledSharp.TmxDocument | |
XDocument | ReadXml (string filepath) |
Parse XML content of TMX file. | |
Tilesets for a TMX Map.
Definition at line 11 of file Tileset.cs.