Table of Contents

 
SetFrameDelay
 

Purpose

Sets a new delay between frames

 

Protoype

void CTileMngr::SetFrameDelay (int i_delay)
 

Parameters

delay the new frame delay in milliseconds
 

Description

This function sets a new animation tile frame delay. It specifies, in milliseconds, the amount of time an animation has to wait before it can move on 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;
tile_mngr.SetFrameDelay(500);
 

Prev: SetDirection
Next: SetScroll