#include <CSAction.h>
Definition at line 27 of file CSAction.h.
Public Member Functions | |
CSActionData () | |
~CSActionData () | |
Data Fields | |
char * | id |
id of action, unique | |
int | type |
char * | nextAction |
(default) nextAction (id) | |
bool | isBreakable |
is this action breakable in the midth of phases | |
unsigned int | repeatable |
status of repeatable, see animation | |
unsigned int | envoker |
from what is this action envoked | |
unsigned int | sizePhases |
how many phases? | |
unsigned int * | phases |
arrayPointer # sizePhases | |
StringVector * | animationNames |
animations filenames (xml) |
|
Definition at line 41 of file CSAction.h. References animationNames, envoker, isBreakable, nextAction, phases, repeatable, and sizePhases.
00042 { 00043 id = 0; 00044 nextAction = 0; 00045 envoker = 0; 00046 isBreakable = true; 00047 repeatable = 0; 00048 animationNames = 0; 00049 sizePhases = 0; 00050 phases = 0; 00051 } |
|
Definition at line 53 of file CSAction.h. References animationNames, nextAction, and phases.
00054 { 00055 if (id != 0) 00056 { 00057 free (id); 00058 id = 0; 00059 } 00060 if (nextAction != 0) 00061 { 00062 free (nextAction); 00063 nextAction = 0; 00064 } 00065 if (phases != 0) 00066 { 00067 delete []phases; 00068 phases = 0; 00069 } 00070 if (animationNames != 0) 00071 { 00072 for (StringVector::iterator iter = animationNames->begin(); iter != animationNames->end(); iter++) 00073 { 00074 delete *iter; 00075 } 00076 delete animationNames; 00077 animationNames = 0; 00078 } 00079 } |
|
id of action, unique
Definition at line 30 of file CSAction.h. |
|
Definition at line 31 of file CSAction.h. |
|
(default) nextAction (id)
Definition at line 32 of file CSAction.h. Referenced by CSActionData(), and ~CSActionData(). |
|
is this action breakable in the midth of phases
Definition at line 33 of file CSAction.h. Referenced by CSActionData(). |
|
status of repeatable, see animation
Definition at line 34 of file CSAction.h. Referenced by CSActionData(). |
|
from what is this action envoked
Definition at line 36 of file CSAction.h. Referenced by CSActionData(). |
|
how many phases?
Definition at line 37 of file CSAction.h. Referenced by CSActionData(). |
|
arrayPointer # sizePhases
Definition at line 38 of file CSAction.h. Referenced by CSActionData(), and ~CSActionData(). |
|
animations filenames (xml)
Definition at line 39 of file CSAction.h. Referenced by CSActionData(), and ~CSActionData(). |