Struct TiledLayer
A layer from a Tiled map
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 TiledLayer
Fields
| Improve this Doc View SourceChunks
Layer chunks (for infinite maps)
Declaration
public List<TiledLayerChunk> Chunks
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<TiledLayerChunk> |
Height
Height of the layer
Declaration
public int Height
Field Value
Type | Description |
---|---|
System.Int32 |
Name
Name of the layer
Declaration
public string Name
Field Value
Type | Description |
---|---|
System.String |
ParentMap
The parent map, used for getting the Tileset
Declaration
public TiledMap ParentMap
Field Value
Type | Description |
---|---|
TiledMap |
Tiles
Layer tiles (for finite maps)
Declaration
public List<int> Tiles
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Int32> |
Width
Width of the layer
Declaration
public int Width
Field Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceDrawLayer(Renderer)
Declaration
public void DrawLayer(Renderer renderer)
Parameters
Type | Name | Description |
---|---|---|
Renderer | renderer |