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

The base node include a lot of attributes. More...

#include <CCDatas.h>

Inheritance diagram for CCBaseData:
CCObject CCCopying CCBoneData CCFrameData

Public Member Functions

 CCBaseData ()
 ~CCBaseData (void)
virtual void copy (const CCBaseData *node)
virtual void subtract (CCBaseData *from, CCBaseData *to, bool limit)
virtual void setColor (const ccColor4B &color)
var setColor ( var 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 CCBaseDatacreate (void)

Public Attributes

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

Detailed Description

The base node include a lot of attributes.

Constructor & Destructor Documentation

var ctor ( )
~CCBaseData ( void  )

Member Function Documentation

virtual void copy ( const CCBaseData node)
virtual

Reimplemented in CCFrameData.

var copy ( var  node)
virtual

Reimplemented in CCFrameData.

static CCBaseData* create ( void  )
inlinestatic
virtual ccColor4B getColor ( )
virtual
var getColor ( )
virtual
virtual void setColor ( const ccColor4B color)
virtual
var setColor ( var  color)
virtual
virtual void subtract ( CCBaseData from,
CCBaseData to,
bool  limit 
)
virtual
var subtract ( var  from,
var  to,
var  limit 
)
virtual

Member Data Documentation

int a

Whether or not this frame have the color changed Info.

var a

Whether or not this frame have the color changed Info.

int b
var b
int g
var g
bool isUseColorInfo

SkewX, SkewY, and TweenRotate effect the rotation.

var isUseColorInfo

SkewX, SkewY, and TweenRotate effect the rotation.

int r
var r
float scaleX
var scaleX
float scaleY
var scaleY
float skewX

zorder attribute, used to order the CCBone's depth order

x y skewX skewY scaleX scaleY used to calculate transform matrix skewX, skewY can have rotation effect To get more matrix information, you can have a look at this pape : http://www.senocular.com/flash/tutorials/transformmatrix/

var skewX

zorder attribute, used to order the CCBone's depth order

x y skewX skewY scaleX scaleY used to calculate transform matrix skewX, skewY can have rotation effect To get more matrix information, you can have a look at this pape : http://www.senocular.com/flash/tutorials/transformmatrix/

float skewY
var skewY
float tweenRotate
var tweenRotate
float x
var x
float y

position x attribute

var y

position x attribute

int zOrder

position y attribute

var zOrder

position y attribute


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