|
| ActionTimeline () |
virtual | ~ActionTimeline () |
virtual bool | init () |
virtual void | gotoFrameAndPlay (int startIndex) |
| Goto the specified frame index, and start playing from this index. More...
|
|
var | gotoFrameAndPlay ( var startIndex) |
| Goto the specified frame index, and start playing from this index. More...
|
|
local | gotoFrameAndPlay ( local 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...
|
|
var | gotoFrameAndPlay ( var startIndex, var loop) |
| Goto the specified frame index, and start playing from this index. More...
|
|
local | gotoFrameAndPlay ( local startIndex, local 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...
|
|
var | gotoFrameAndPause ( var startIndex) |
| Goto the specified frame index, and pause at this index. More...
|
|
local | gotoFrameAndPause ( local 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...
|
|
local | setDuration ( local duration) |
| duration of the whole action More...
|
|
virtual int | getDuration () const |
var | getDuration () |
local | getDuration () |
virtual int | getStartFrame () const |
| Start frame index of this action. More...
|
|
local | getStartFrame () |
| 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...
|
|
var | setCurrentFrame ( var frameIndex) |
| Set current frame index, this will cause action plays to this frame. More...
|
|
local | setCurrentFrame ( local 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...
|
|
local | addTimeline ( local timeline) |
| add Timeline to ActionTimeline More...
|
|
virtual void | removeTimeline (Timeline *timeline) |
var | removeTimeline ( var timeline) |
local | removeTimeline ( local timeline) |
void | setFrameEventCallFunc (CCObject *target, SEL_TimelineFrameEventCallFunc callFunc) |
| Set action's frame event callback function. More...
|
|
local | setFrameEventCallFunc ( local target, local callFunc) |
| Set action's frame event callback function. More...
|
|
void | clearFrameEventCallFunc () |
virtual ActionTimeline * | clone () const |
| Inherit from cocos2d::Action. More...
|
|
local | clone () |
| Inherit from cocos2d::Action. More...
|
|
virtual ActionTimeline * | reverse () const |
| Returns a reverse of ActionTimeline. More...
|
|
local | reverse () |
| Returns a reverse of ActionTimeline. More...
|
|
virtual void | step (float delta) |
| called every frame with it's delta time. DON'T override unless you know what you are doing. More...
|
|
local | step ( local delta) |
| called every frame with it's delta time. DON'T override unless you know what you are doing. More...
|
|
virtual void | startWithTarget (cocos2d::CCNode *target) |
| called before the action start. It will also set the target. More...
|
|
var | startWithTarget ( var target) |
| called before the action start. It will also set the target. More...
|
|
local | startWithTarget ( local target) |
| called before the action start. It will also set the target. More...
|
|
virtual bool | isDone () |
| return true if the action has finished More...
|
|
virtual cocos2d::CCDictionary * | getScriptObjectDict () const |
| Returns a user assigned CCDictionary. More...
|
|
local | getScriptObjectDict () |
| Returns a user assigned CCDictionary. More...
|
|
virtual void | setScriptObjectDict (cocos2d::CCDictionary *scriptObjectDict) |
| Returns a user assigned CCDictionary. More...
|
|
local | setScriptObjectDict ( local scriptObjectDict) |
| Returns a user assigned CCDictionary. More...
|
|
| CCAction (void) |
| ctor () |
| CCAction () |
virtual | ~CCAction (void) |
const char * | description () |
virtual CCObject * | copyWithZone (CCZone *pZone) |
virtual void | stop (void) |
| 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...
|
|
CCNode * | getTarget (void) |
var | getTarget () |
local | getTarget () |
void | setTarget (CCNode *pTarget) |
| The action will modify the target properties. More...
|
|
local | setTarget ( local pTarget) |
| The action will modify the target properties. More...
|
|
CCNode * | getOriginalTarget (void) |
local | getOriginalTarget () |
void | setOriginalTarget (CCNode *pOriginalTarget) |
| Set the original target, since target can be nil. More...
|
|
int | getTag (void) |
var | getTag () |
local | getTag () |
void | setTag (int nTag) |
var | setTag ( var nTag) |
local | setTag ( local nTag) |
| CCObject (void) |
virtual | ~CCObject (void) |
void | release (void) |
void | retain (void) |
CCObject * | autorelease (void) |
CCObject * | copy (void) |
bool | isSingleReference (void) const |
unsigned int | retainCount (void) const |
virtual bool | isEqual (const CCObject *pObject) |
virtual void | acceptVisitor (CCDataVisitor &visitor) |