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

#include <CCDatas.h>

Inheritance diagram for CCBoneData:
CCBaseData CCObject CCCopying

Public Member Functions

 CCBoneData (void)
 ~CCBoneData (void)
virtual bool init ()
void addDisplayData (CCDisplayData *displayData)
CCDisplayDatagetDisplayData (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)
CCObjectautorelease (void)
CCObjectcopy (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 CCObjectcopyWithZone (CCZone *pZone)

Static Public Member Functions

static CCBoneDatacreate (void)
- Static Public Member Functions inherited from CCBaseData
static CCBaseDatacreate (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

Constructor & Destructor Documentation

CCBoneData ( void  )
~CCBoneData ( void  )

Member Function Documentation

void addDisplayData ( CCDisplayData displayData)
static CCBoneData* create ( void  )
CCDisplayData* getDisplayData ( int  index)
virtual bool init ( )

Member Data Documentation

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

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