Skip to content

TileBlocksData Class

Definition

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

public sealed class TileBlocksData

View source

Constructors

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

Properties

Name Description
Count Gets the number of blocks.
Entries Gets block-major entries, with row-major ordering within each block.
Height Gets the height of each block in entries.
Width Gets the width of each block in entries.

Methods

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