Table of Contents

 
GetTileImage
 

Purpose

Checks the current image ID of the selected tile

 

Protoype

int CTileMngr::GetTileImage ()
 

Description

This function returns the tile's image ID, which is the cell number of the image from the map's tile set

NOTE: In order for the function to work you must have a tile locked with either LockTileRC() or LockTileXY()

 

Use

CTileMngr tile_mngr;
int i_img_id = tile_mngr.GetTileImage();
 

Prev: GetTileID