Struct TiledMap
A Tiled map. Must be CSV formatted. Objects are loaded but must be manually implemented.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Inferno.Tiled
Assembly: Inferno.Desktop.dll
Syntax
public struct TiledMap
Fields
| Improve this Doc View SourceHeight
The height of the map
Declaration
public int Height
Field Value
Type | Description |
---|---|
System.Int32 |
Infinite
Whether or not the map is infinite
Declaration
public bool Infinite
Field Value
Type | Description |
---|---|
System.Boolean |
Layers
The layers inside the map
Declaration
public List<TiledLayer> Layers
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<TiledLayer> |
ObjectLayers
The object layers inside the map
Declaration
public List<TiledObjectLayer> ObjectLayers
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<TiledObjectLayer> |
Orientation
The orientation of the map
Declaration
public TiledMapOrientation Orientation
Field Value
Type | Description |
---|---|
TiledMapOrientation |
RenderOrder
The render order of the map
Declaration
public RenderOrder RenderOrder
Field Value
Type | Description |
---|---|
RenderOrder |
TileHeight
The height of the tiles in the map
Declaration
public int TileHeight
Field Value
Type | Description |
---|---|
System.Int32 |
Tileset
The tileset used in the map
Declaration
public Tileset Tileset
Field Value
Type | Description |
---|---|
Tileset |
TileWidth
The width of the tiles in the map
Declaration
public int TileWidth
Field Value
Type | Description |
---|---|
System.Int32 |
Width
The width of the map
Declaration
public int Width
Field Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceDrawMap(Renderer)
Draw the entire map
Declaration
public void DrawMap(Renderer renderer)
Parameters
Type | Name | Description |
---|---|---|
Renderer | renderer |