| Table of Contents | ||
|
|
||
| GetSpriteImage | ||
|
Purpose Returns the ID of the image currently being used as the sprite template |
||
|
Protoype string CSpriteMngr::GetSpriteImage (string str_sprite_id) |
||
|
Parameters
|
||
|
Description This function extracts from the sprite object identified with str_sprite_id the ID of the image that is being used as the sprite's animation template. |
||
Use CSpriteMngr sprite; string str_img_id = sprite.GetSpriteImage("my_sprite");
|
||
|
|
||
|