Table of Contents

 
GetTotalFrames
 

Purpose

Finds how many frames are in the animation sequence

 

Protoype

int CTileMngr::GetTotalFrames ()
 

Description

This function returns the total number of frames in a tile's animation sequence

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_total_frames = tile_mngr.GetTotalFrames();
 

Prev: GetTileSetWidth
Next: GetXYPos