cocos2d-x  3.1rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
AnimationData Class Reference

#include <CCDatas.h>

Inheritance diagram for AnimationData:
Ref

Public Member Functions

 AnimationData (void)
 ~AnimationData (void)
void addMovement (MovementData *movData)
MovementDatagetMovement (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...
 
Refautorelease ()
 Releases the ownership sometime soon automatically. More...
 
unsigned int getReferenceCount () const
 Returns the Ref's current reference count. More...
 
virtual ~Ref ()

Static Public Member Functions

static AnimationDatacreate (void)

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...
 

Constructor & Destructor Documentation

AnimationData ( void  )
~AnimationData ( void  )

Member Function Documentation

void addMovement ( MovementData movData)
static AnimationData* create ( void  )
inlinestatic
MovementData* getMovement ( const std::string &  movementName)
ssize_t getMovementCount ( )

Member Data Documentation

cocos2d::Map<std::string,
MovementData*> movementDataDic
std::vector<std::string>
movementNames
std::string name

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