| Table of Contents | ||||
|
|
||||
| _GetTile | ||||
|
Purpose Returns tile location in map grid |
||||
|
Protoype int CTileMngr::_GetTile(int i_row, int i_col) |
||||
|
Parameters
|
||||
|
Description Since the map tiles are stored in a 1D array instead of a 2D array, this function takes 2D coordinates and converts them to the 1D equivilant so the correct tile in the map array is accessed |
||||
|
Use This is a private member function |
||||
|
|
||||
|