SetSpriteFrame
Description
Sets the sprite to a specific frame, frames start at 1 and end at GetSpriteFrameCount
Definition
SetSpriteFrame( iSpriteIndex, iFrame )
void agk::SetSpriteFrame( UINT iSpriteIndex, int iFrame )
Parameters
- iSpriteIndex - The ID of the sprite to modify.
- iFrame - The ID of the frame this sprite should change to, has an immediate effect.