MSTE - MegaStorm Tile-based Engine  v1.10
 All Classes Functions Groups Pages
Classes | Functions
MSTE MapData v2.3 - MapData class hierachy

Classes

class  cMSTE_MapBase
 MapBase derivated class. More...
 
class  cMSTE_MapData
 MapData abstract base class. More...
 

Functions

template<typename T >
T ** cMSTE_MapData::Create2DArray (int height, int width)
 Create a dynamic 2D array of a given data type. More...
 
template<typename T >
void cMSTE_MapData::Delete2DArray (T **Array)
 Delete a dynamic 2D array.
 

Detailed Description

logotipo_mste.png


These are the MapData classes.

Function Documentation

template<typename T >
T ** cMSTE_MapData::Create2DArray ( int  height,
int  width 
)

Create a dynamic 2D array of a given data type.

Parameters
heightSelected height of your 2D array
widthSelected width of your 2D array
Returns
A Pointer to the dynamic 2D array