Skip to content

TileMapData Constructors

Initializes a map by copying its entries.

public TileMapData(int width, int height, TileMapEntry[] entries);

View source

Parameters

Name Type Description
width Int32 The positive width in entries, not pixels.
height Int32 The positive height in entries, not pixels.
entries TileMapEntry[] Exactly width times height row-major entries.