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

#include <CCDatas.h>

Inheritance diagram for MovementBoneData:
Ref

Public Member Functions

CC_CREATE_NO_PARAM(MovementBoneData)
public 
~MovementBoneData (void)
virtual bool init ()
void addFrameData (FrameData *frameData)
FrameDatagetFrameData (int index)
- 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 ()

Public Attributes

float delay
float scale
 movement delay percent, this value can produce a delay effect More...
 
float duration
 scale this movement More...
 
std::string name
 this Bone in this movement will last m_iDuration frames More...
 
cocos2d::Vector< FrameData * > frameList
 bone name More...
 

Additional Inherited Members

- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 
- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
 

Constructor & Destructor Documentation

Member Function Documentation

void addFrameData ( FrameData frameData)
FrameData* getFrameData ( int  index)
virtual bool init ( )
virtual

Member Data Documentation

float delay
float duration

scale this movement

bone name

std::string name

this Bone in this movement will last m_iDuration frames

float scale

movement delay percent, this value can produce a delay effect


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