cocos2d-x
3.3
|
#include <CCTimeLine.h>
Public Member Functions | |
Timeline () | |
virtual | ~Timeline () |
virtual void | gotoFrame (int frameIndex) |
virtual void | stepToFrame (int frameIndex) |
virtual const cocos2d::Vector < Frame * > & | getFrames () const |
virtual void | addFrame (Frame *frame) |
virtual void | insertFrame (Frame *frame, int index) |
virtual void | removeFrame (Frame *frame) |
virtual void | setActionTag (int tag) |
virtual int | getActionTag () const |
virtual void | setNode (cocos2d::Node *node) |
virtual cocos2d::Node * | getNode () const |
virtual void | setActionTimeline (ActionTimeline *action) |
virtual ActionTimeline * | getActionTimeline () const |
virtual Timeline * | clone () |
![]() | |
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 () |
NA NA More... | |
Static Public Member Functions | |
static Timeline * | create () |
Protected Member Functions | |
virtual void | apply (int frameIndex) |
virtual void | binarySearchKeyFrame (int frameIndex) |
virtual void | updateCurrentKeyFrame (int frameIndex) |
![]() | |
Ref () | |
Constructor. More... | |
Protected Attributes | |
cocos2d::Vector< Frame * > | _frames |
Frame * | _currentKeyFrame |
int | _currentKeyFrameIndex |
int | _fromIndex |
int | _toIndex |
int | _betweenDuration |
int | _actionTag |
ActionTimeline * | _ActionTimeline |
cocos2d::Node * | _node |
![]() | |
unsigned int | _referenceCount |
count of references More... | |
Timeline | ( | ) |
|
virtual |
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
|
static |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
|
virtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |