#include <CCDatas.h>
Public Member Functions | |
CCBoneData (void) | |
~CCBoneData (void) | |
virtual bool | init () |
void | addDisplayData (CCDisplayData *displayData) |
CCDisplayData * | getDisplayData (int index) |
Public Member Functions inherited from CCBaseData | |
CCBaseData () | |
~CCBaseData (void) | |
virtual void | copy (const CCBaseData *node) |
virtual void | subtract (CCBaseData *from, CCBaseData *to, bool limit) |
var | subtract ( var from, var to, var limit) |
virtual void | setColor (const ccColor4B &color) |
virtual ccColor4B | getColor () |
Public Member Functions inherited from CCObject | |
CCObject (void) | |
virtual | ~CCObject (void) |
void | release (void) |
void | retain (void) |
CCObject * | autorelease (void) |
CCObject * | copy (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 CCObject * | copyWithZone (CCZone *pZone) |
Static Public Member Functions | |
static CCBoneData * | create (void) |
Static Public Member Functions inherited from CCBaseData | |
static CCBaseData * | create (void) |
Public Attributes | |
std::string | name |
std::string | parentName |
the bone's name More... | |
CCArray | displayDataList |
the bone parent's name More... | |
CCAffineTransform | boneDataTransform |
save CCDisplayData informations for the CCBone More... | |
Public Attributes inherited from CCBaseData | |
float | x |
float | y |
position x attribute More... | |
int | zOrder |
position y attribute More... | |
float | skewX |
zorder attribute, used to order the CCBone's depth order More... | |
float | skewY |
float | scaleX |
float | scaleY |
float | tweenRotate |
var | tweenRotate |
bool | isUseColorInfo |
SkewX, SkewY, and TweenRotate effect the rotation. More... | |
int | a |
Whether or not this frame have the color changed Info. More... | |
int | r |
int | g |
int | b |
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 |
CCBoneData | ( | void | ) |
~CCBoneData | ( | void | ) |
void addDisplayData | ( | CCDisplayData * | displayData) |
|
inlinestatic |
CCDisplayData* getDisplayData | ( | int | index) |
|
virtual |
CCAffineTransform boneDataTransform |
save CCDisplayData informations for the CCBone
CCArray displayDataList |
the bone parent's name
std::string name |
std::string parentName |
the bone's name