Table of Contents

 
SetAnimDelay
 

Purpose

Sets a new delay between animations

 

Protoype

void CTileMngr::SetAnimDelay (int i_delay)
 

Parameters

delay the new animation delay in milliseconds
 

Description

This function sets a new animation tile loop delay. It specifies, in milliseconds, the amount of time an animation has to wait before it can loop and begin playing again.

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.SetAnimDelay(2000);
 

Prev: SaveMap