RexReader
 All Classes Namespaces Functions Properties
RexTools.TileMap Class Reference

A two-dimensional array tiles in single or multiple layers More...

Public Member Functions

 TileMap (int width, int height, int layers)
 Creates a new TileMap with specified dimensions More...
 

Properties

TileLayer[] Layers [get]
 Individual layers, ordered by their order in the source file. More...
 
int Width [get]
 The width of the TileMap. Every layer has the same width. More...
 
int Height [get]
 The height of the TileMap. Every layer has the same height. More...
 
int LayerCount [get]
 The number of layers in the TileMap More...
 

Detailed Description

A two-dimensional array tiles in single or multiple layers

Constructor & Destructor Documentation

RexTools.TileMap.TileMap ( int  width,
int  height,
int  layers 
)

Creates a new TileMap with specified dimensions

Parameters
widthThe width of the TileMap, to be passed to each layer
heightThe height of the TileMap, to be passed to each layer
layersThe number of layers to construct on initialization

Property Documentation

int RexTools.TileMap.Height
get

The height of the TileMap. Every layer has the same height.

int RexTools.TileMap.LayerCount
get

The number of layers in the TileMap

TileLayer [] RexTools.TileMap.Layers
get

Individual layers, ordered by their order in the source file.

int RexTools.TileMap.Width
get

The width of the TileMap. Every layer has the same width.


The documentation for this class was generated from the following file: