#include <CSSprite.h>
Public Member Functions | |
StateData () | |
~StateData () | |
Data Fields | |
StringVector | actionNames |
filenames (xml) of all action belonging to sprite | |
char * | defaultActionName |
default action (id) | |
int | stateId |
|
Definition at line 36 of file CSSprite.h. References defaultActionName, and stateId.
00037 { 00038 defaultActionName = 0; 00039 stateId = 0; 00040 } |
|
Definition at line 42 of file CSSprite.h. References actionNames, defaultActionName, and stateId.
00043 { 00044 for (StringVector::iterator iter = actionNames.begin(); iter != actionNames.end(); iter++) 00045 { 00046 delete *iter; 00047 } 00048 actionNames.clear(); 00049 00050 if (defaultActionName != 0) 00051 { 00052 free(defaultActionName); 00053 defaultActionName = 0; 00054 } 00055 stateId = 0; 00056 } |
|
filenames (xml) of all action belonging to sprite
Definition at line 32 of file CSSprite.h. Referenced by ~StateData(). |
|
default action (id)
Definition at line 33 of file CSSprite.h. Referenced by StateData(), and ~StateData(). |
|
Definition at line 34 of file CSSprite.h. Referenced by StateData(), and ~StateData(). |