Skip to content

TileBlocksData Class ​

Definition ​

Equally sized rectangular groups of map entries, stored block-major with row-major entries within each block.

c#
public sealed class TileBlocksData

View source

Constructors ​

NameDescription
TileBlocksData(Int32, Int32, TileMapEntry[])Initializes a collection of tile blocks by copying the entries.

Properties ​

NameDescription
CountGets the number of blocks.
EntriesGets block-major entries, with row-major ordering within each block.
HeightGets the height of each block in entries.
WidthGets the width of each block in entries.

Methods ​

NameDescription
GetBlock(Int32)Gets a block as an independent row-major map view.