TiledSharp
0.9.1 r0
A .NET C# library for importing Tiled TMX tile maps
|
Container class for TMX map file. More...
Public Types | |
enum | OrientationType : byte { Orthogonal, Isometric, Staggered } |
Map orientation type. | |
Public Member Functions | |
TmxMap (string filename) | |
Map constructor. | |
Properties | |
string | Version [get, set] |
TMX format version. | |
OrientationType | Orientation [get, set] |
Map orientation. | |
int | Width [get, set] |
Map width in tiles. | |
int | Height [get, set] |
Map height in tiles. | |
int | TileWidth [get, set] |
Pixel width of (smallest) tiles. | |
int | TileHeight [get, set] |
Pixel height of (smallest) tiles. | |
TmxColor | BackgroundColor [get, set] |
Map background color. | |
TmxList< TmxTileset > | Tilesets [get, set] |
List of map tilesets. | |
TmxList< TmxLayer > | Layers [get, set] |
List of map layers. | |
TmxList< TmxObjectGroup > | ObjectGroups [get, set] |
List of map object layers. | |
TmxList< TmxImageLayer > | ImageLayers [get, set] |
List of background image layers. | |
PropertyDict | Properties [get, set] |
User-defined map properties. | |
Properties inherited from TiledSharp.TmxDocument | |
string | TmxDirectory [get, set] |
Parent directory of TMX file. | |
Additional Inherited Members | |
Protected Member Functions inherited from TiledSharp.TmxDocument | |
XDocument | ReadXml (string filepath) |
Parse XML content of TMX file. | |