cocos2d-x  3.3
 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

CC_CREATE_NO_PARAM_NO_INIT(AnimationData)
public 
~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 ()

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

Member Function Documentation

void addMovement ( MovementData movData)
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: