Table of Contents

 
GetFrameDelay
 

Purpose

Finds the frame delay for the animation

 

Protoype

int CTileMngr::GetFrameDelay ()
 

Description

This function returns the number of milliseconds that the animation delays before it switches to the next 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_fdelay = tile_mngr.GetFrameDelay();
 

Prev: GetDirection
Next: GetImages