cocos2d-x  2.2.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCAnimationData Class Reference

#include <CCDatas.h>

Inheritance diagram for CCAnimationData:
CCObject CCCopying

Public Member Functions

 CCAnimationData (void)
 ~CCAnimationData (void)
void addMovement (CCMovementData *movData)
CCMovementDatagetMovement (const char *movementName)
int getMovementCount ()
- Public Member Functions inherited from CCObject
 CCObject (void)
virtual ~CCObject (void)
void release (void)
void retain (void)
CCObjectautorelease (void)
CCObjectcopy (void)
bool isSingleReference (void) const
unsigned int retainCount (void) const
virtual bool isEqual (const CCObject *pObject)
virtual void acceptVisitor (CCDataVisitor &visitor)
virtual void update (float dt)
- Public Member Functions inherited from CCCopying
virtual CCObjectcopyWithZone (CCZone *pZone)

Static Public Member Functions

static CCAnimationDatacreate (void)

Public Attributes

std::string name
CCDictionary movementDataDic
std::vector< std::string > movementNames
- Public Attributes inherited from CCObject
unsigned int m_uID
int m_nLuaID

Additional Inherited Members

- Protected Attributes inherited from CCObject
unsigned int m_uReference
unsigned int m_uAutoReleaseCount

Constructor & Destructor Documentation

CCAnimationData ( void  )
~CCAnimationData ( void  )

Member Function Documentation

void addMovement ( CCMovementData movData)
static CCAnimationData* create ( void  )
CCMovementData* getMovement ( const char *  movementName)
int getMovementCount ( )

Member Data Documentation

CCDictionary movementDataDic
std::string name

The documentation for this class was generated from the following file: