| Table of Contents | ||
|
|
||
| GetLayerType | ||
|
Purpose Returns the type of the given layer |
||
|
Protoype int CTileMngr::GetLayerType (int i_layer) |
||
|
Parameters
|
||
|
Description This function queries the given layer and returns its type, which can be either TYPE_TILE, TYPE_SPRITE, or TYPE_IMAGE. |
||
|
Use CTileMngr tile_mngr; int i_type = tile_mngr.GetLayerType(4); |
||
|
|
||
|