ArmatureData saved the Armature name and Bonedata needed for the CCBones in this Armature When we create a Armature, we need to get each Bone's BoneData as it's init information. More...
#include <CCDatas.h>
Public Member Functions | |
CC_CREATE_NO_PARAM(ArmatureData) public | ~ArmatureData () |
bool | init () |
void | addBoneData (BoneData *boneData) |
BoneData * | getBoneData (const std::string &boneName) |
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 () |
Destructor. More... | |
Public Attributes | |
std::string | name |
cocos2d::Map< std::string, BoneData * > | boneDataDic |
float | dataVersion |
Additional Inherited Members | |
Protected Member Functions inherited from Ref | |
Ref () | |
Constructor. More... | |
Ref () | |
Constructor. More... | |
Protected Attributes inherited from Ref | |
unsigned int | _referenceCount |
count of references More... | |
local | _referenceCount |
count of references More... | |
ArmatureData saved the Armature name and Bonedata needed for the CCBones in this Armature When we create a Armature, we need to get each Bone's BoneData as it's init information.
So we can get a BoneData from the Dictionary saved in the ArmatureData.
CC_CREATE_NO_PARAM (ArmatureData) public ~ArmatureData |
( | ) |
void addBoneData | ( | BoneData * | boneData | ) |
BoneData* getBoneData | ( | const std::string & | boneName | ) |
bool init | ( | ) |
cocos2d::Map<std::string, BoneData*> boneDataDic |
float dataVersion |
std::string name |