#include <CCDatas.h>
Public Member Functions | |
CC_CREATE_NO_PARAM_NO_INIT(AnimationData) public | ~AnimationData (void) |
void | addMovement (MovementData *movData) |
MovementData * | getMovement (const std::string &movementName) |
ssize_t | getMovementCount () |
Public Member Functions inherited from Ref | |
void | retain () |
Retains the ownership. More... | |
void | release () |
Releases the ownership immediately. More... | |
Ref * | autorelease () |
Releases the ownership sometime soon automatically. More... | |
unsigned int | getReferenceCount () const |
Returns the Ref's current reference count. More... | |
virtual | ~Ref () |
Public Attributes | |
std::string | name |
cocos2d::Map< std::string, MovementData * > | movementDataDic |
std::vector< std::string > | movementNames |
Additional Inherited Members | |
Protected Member Functions inherited from Ref | |
Ref () | |
Constructor. More... | |
Protected Attributes inherited from Ref | |
unsigned int | _referenceCount |
count of references More... | |
CC_CREATE_NO_PARAM_NO_INIT (AnimationData) public ~AnimationData |
( | void | ) |
void addMovement | ( | MovementData * | movData | ) |
MovementData* getMovement | ( | const std::string & | movementName | ) |
ssize_t getMovementCount | ( | ) |
cocos2d::Map<std::string, MovementData*> movementDataDic |
std::vector<std::string> movementNames |
std::string name |