Table of Contents

 
RemoveSprite
 

Purpose

Removes a specified sprite object from the manager along with any animations

 

Protoype

void CSpriteMngr::RemoveSprite (string str_sprite_id)
 

Parameters

sprite_id the ID of the sprite object to remove
 

Description

This function removes a single sprite object along with any animations and timers that are associated with that object. The sprite object to remove is specified with str_sprite_id.

 
Use
CSpriteMngr sprite;
sprite.RemoveSprite();
 

Prev: RemoveAnimation