Table of Contents

 
_GetTile
 

Purpose

Returns tile location in map grid

 

Protoype

int CTileMngr::_GetTile(int i_row, int i_col)
 

Parameters

row the row of the tile
col the column of the tile
 

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

 

Prev: _EatWhite