Struct TiledLayerChunk
A chunk from a Tiled Layer
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 TiledLayerChunk
Fields
| Improve this Doc View SourceHeight
The height of the chunk
Declaration
public int Height
Field Value
Type | Description |
---|---|
System.Int32 |
ParentMap
The parent map, used for getting the Tileset
Declaration
public TiledMap ParentMap
Field Value
Type | Description |
---|---|
TiledMap |
Tiles
The tiles inside the chunk
Declaration
public List<int> Tiles
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Int32> |
Width
The width of the chunk
Declaration
public int Width
Field Value
Type | Description |
---|---|
System.Int32 |
X
Starting X co-ord of the chunk
Declaration
public int X
Field Value
Type | Description |
---|---|
System.Int32 |
Y
Starting Y co-ord of the chunk
Declaration
public int Y
Field Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceDrawChunk(Renderer)
Declaration
public void DrawChunk(Renderer renderer)
Parameters
Type | Name | Description |
---|---|---|
Renderer | renderer |