Skip to content

TileMapData Class ​

Definition ​

A rectangular map of tile or block references in top-left-origin row-major order.

c#
public sealed class TileMapData

View source

Constructors ​

NameDescription
TileMapData(Int32, Int32, TileMapEntry[])Initializes a map by copying its entries.

Properties ​

NameDescription
EntriesGets the ordered map entries.
HeightGets the height in entries.
WidthGets the width in entries.

Methods ​

NameDescription
GetEntry(Int32, Int32)Gets an entry at top-left-origin map coordinates.