TiledSharp  0.9.1 r0
A .NET C# library for importing Tiled TMX tile maps
 All Classes Namespaces Files Functions Variables Enumerations Properties Pages
Public Types | Public Member Functions | Properties | List of all members
TiledSharp.TmxMap Class Reference

Container class for TMX map file. More...

Inheritance diagram for TiledSharp.TmxMap:
TiledSharp.TmxDocument

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< TmxTilesetTilesets [get, set]
 List of map tilesets.
 
TmxList< TmxLayerLayers [get, set]
 List of map layers.
 
TmxList< TmxObjectGroupObjectGroups [get, set]
 List of map object layers.
 
TmxList< TmxImageLayerImageLayers [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.
 

Detailed Description

Container class for TMX map file.

Definition at line 10 of file Map.cs.


The documentation for this class was generated from the following files: