TileBlocksData Constructors
Initializes a collection of tile blocks by copying the entries.
c#
public TileBlocksData(int width, int height, TileMapEntry[] entries);Parameters
| Name | Type | Description |
|---|---|---|
width | Int32 | The positive width of each block in map entries. |
height | Int32 | The positive height of each block in map entries. |
entries | TileMapEntry[] | Block-major entries; the length must be a multiple of the block area. Empty collections are allowed. |