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

AnimationData include all movement infomation for the Armature The struct is AnimationData -> MovementData -> MovementBoneData -> FrameData -> MovementFrameData NA NA. More...

#include <CCDatas.h>

Inheritance diagram for AnimationData:
Ref

Public Member Functions

CC_CREATE_NO_PARAM_NO_INIT(AnimationData)
public 
~AnimationData (void)
 ctor More...
 
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 ()
 NA NA More...
 

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

Detailed Description

AnimationData include all movement infomation for the Armature The struct is AnimationData -> MovementData -> MovementBoneData -> FrameData -> MovementFrameData NA NA.

Constructor & Destructor Documentation

ctor

NA NA

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: