Skip to content

TileBlocksData Constructors ​

Initializes a collection of tile blocks by copying the entries.

c#
public TileBlocksData(int width, int height, TileMapEntry[] entries);

View source

Parameters ​

NameTypeDescription
widthInt32The positive width of each block in map entries.
heightInt32The positive height of each block in map entries.
entriesTileMapEntry[]Block-major entries; the length must be a multiple of the block area. Empty collections are allowed.