Table of Contents

 
GetAnimID
 

Purpose

Finds the ID of the image for the current animation frame

 

Protoype

int CTileMngr::GetAnimID ()
 

Description

This function returns the ID (cell number) of the current tile being used in the current tile animation frame.

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_id = tile_mngr.GetAnimID();
 

Prev: GetAnimDelay