|
| ActionTimeline () |
virtual | ~ActionTimeline () |
virtual bool | init () |
virtual void | gotoFrameAndPlay (int startIndex) |
| Goto the specified frame index, and start playing from this index. More...
|
|
virtual void | gotoFrameAndPlay (int startIndex, bool loop) |
| Goto the specified frame index, and start playing from this index. More...
|
|
virtual void | gotoFrameAndPlay (int startIndex, int endIndex, bool loop) |
| Goto the specified frame index, and start playing from start index, end at end index. More...
|
|
virtual void | gotoFrameAndPlay (int startIndex, int endIndex, int currentFrameIndex, bool loop) |
| Goto the specified frame index, and start playing from start index, end at end index. More...
|
|
virtual void | gotoFrameAndPause (int startIndex) |
| Goto the specified frame index, and pause at this index. More...
|
|
virtual void | pause () |
| Pause the animation. More...
|
|
virtual void | resume () |
| Resume the animation. More...
|
|
virtual bool | isPlaying () const |
| Whether or not Action is playing. More...
|
|
virtual void | setTimeSpeed (float speed) |
| Set the animation speed, this will speed up or slow down the speed. More...
|
|
virtual float | getTimeSpeed () const |
| Get current animation speed. More...
|
|
virtual void | setDuration (int duration) |
| duration of the whole action More...
|
|
virtual int | getDuration () const |
virtual int | getStartFrame () const |
| Start frame index of this action. More...
|
|
virtual int | getEndFrame () const |
| End frame of this action. More...
|
|
virtual void | setCurrentFrame (int frameIndex) |
| Set current frame index, this will cause action plays to this frame. More...
|
|
virtual int | getCurrentFrame () const |
| Get current frame. More...
|
|
virtual void | addTimeline (Timeline *timeline) |
| add Timeline to ActionTimeline More...
|
|
virtual void | removeTimeline (Timeline *timeline) |
virtual const cocos2d::Vector
< Timeline * > & | getTimelines () const |
void | setFrameEventCallFunc (std::function< void(Frame *)> listener) |
| Set ActionTimeline's frame event callback function. More...
|
|
void | clearFrameEventCallFunc () |
virtual ActionTimeline * | clone () const override |
| Inherit from Action. More...
|
|
virtual ActionTimeline * | reverse () const override |
| Returns a reverse of ActionTimeline. More...
|
|
virtual void | step (float delta) override |
| called every frame with it's delta time. DON'T override unless you know what you are doing. More...
|
|
virtual void | startWithTarget (cocos2d::Node *target) override |
| called before the action start. It will also set the target. More...
|
|
virtual bool | isDone () const override |
| return true if the action has finished More...
|
|
virtual std::string | description () const |
virtual void | stop () |
| called after the action has finished. More...
|
|
var | stop () |
| called after the action has finished. More...
|
|
local | stop () |
| called after the action has finished. More...
|
|
virtual void | update (float time) |
| called once per frame. More...
|
|
local | update ( local time) |
| called once per frame. More...
|
|
Node * | getTarget () const |
var | getTarget () |
local | getTarget () |
void | setTarget (Node *target) |
| The action will modify the target properties. More...
|
|
var | setTarget ( var target) |
| The action will modify the target properties. More...
|
|
local | setTarget ( local target) |
| The action will modify the target properties. More...
|
|
Node * | getOriginalTarget () const |
var | getOriginalTarget () |
local | getOriginalTarget () |
void | setOriginalTarget (Node *originalTarget) |
| Set the original target, since target can be nil. More...
|
|
var | setOriginalTarget ( var originalTarget) |
| Set the original target, since target can be nil. More...
|
|
local | setOriginalTarget ( local originalTarget) |
| Set the original target, since target can be nil. More...
|
|
int | getTag () const |
var | getTag () |
local | getTag () |
void | setTag (int tag) |
var | setTag ( var tag) |
local | setTag ( local tag) |
virtual | ~Action () |
var | ~Action () |
local | ~Action () |
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...
|
|
local | getReferenceCount () |
| Returns the Ref's current reference count. More...
|
|
virtual | ~Ref () |
virtual | ~Clonable () |
Ref * | copy () const |
| returns a copy of the Ref. More...
|
|
var | copy () |
| returns a copy of the Ref. More...
|
|
local | copy () |
| returns a copy of the Ref. More...
|
|