MapData abstract base class. More...
Public Member Functions | |
cMSTE_MapData () | |
MapData constructor. | |
template<typename T > | |
T ** | Create2DArray (int height, int width) |
Create a dynamic 2D array of a given data type. More... | |
template<typename T > | |
void | Delete2DArray (T **Array) |
Delete a dynamic 2D array. | |
int | GetCellHeight () |
Get cell height. More... | |
int | GetCellWidth () |
Get cell width. More... | |
int | GetMapHeight () |
Get map height. More... | |
char * | GetMapType () |
Get map type. More... | |
int | GetMapWidth () |
Get map width. More... | |
void | SetCellHeight (int size) |
Set tile height. More... | |
void | SetCellWidth (int size) |
Set cell width. More... | |
virtual | ~cMSTE_MapData () |
MapData destructor. | |
MapData abstract base class.
MapData class definition.
int cMSTE_MapData::GetCellHeight | ( | ) |
Get cell height.
int cMSTE_MapData::GetCellWidth | ( | ) |
Get cell width.
int cMSTE_MapData::GetMapHeight | ( | ) |
char * cMSTE_MapData::GetMapType | ( | ) |
Get map type.
int cMSTE_MapData::GetMapWidth | ( | ) |
void cMSTE_MapData::SetCellHeight | ( | int | size | ) |
void cMSTE_MapData::SetCellWidth | ( | int | size | ) |