-------------------------------- -- @module ActionTimeline -- @extend Action -- @parent_module ccs -------------------------------- -- add Timeline to ActionTimeline -- @function [parent=#ActionTimeline] addTimeline -- @param self -- @param #ccs.Timeline timeline -- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) -------------------------------- -- Get current frame. -- @function [parent=#ActionTimeline] getCurrentFrame -- @param self -- @return int#int ret (return value: int) -------------------------------- -- Start frame index of this action -- @function [parent=#ActionTimeline] getStartFrame -- @param self -- @return int#int ret (return value: int) -------------------------------- -- Pause the animation. -- @function [parent=#ActionTimeline] pause -- @param self -- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) -------------------------------- -- -- @function [parent=#ActionTimeline] init -- @param self -- @return bool#bool ret (return value: bool) -------------------------------- -- -- @function [parent=#ActionTimeline] removeTimeline -- @param self -- @param #ccs.Timeline timeline -- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) -------------------------------- -- -- @function [parent=#ActionTimeline] clearFrameEventCallFunc -- @param self -- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) -------------------------------- -- Last frame callback will call when arriving last frame -- @function [parent=#ActionTimeline] setLastFrameCallFunc -- @param self -- @param #function listener -- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) -------------------------------- -- -- @function [parent=#ActionTimeline] getTimelines -- @param self -- @return array_table#array_table ret (return value: array_table) -------------------------------- -- -- @function [parent=#ActionTimeline] play -- @param self -- @param #string animationName -- @param #bool loop -- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) -------------------------------- -- -- @function [parent=#ActionTimeline] getAnimationInfo -- @param self -- @param #string animationName -- @return AnimationInfo#AnimationInfo ret (return value: ccs.AnimationInfo) -------------------------------- -- Resume the animation. -- @function [parent=#ActionTimeline] resume -- @param self -- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) -------------------------------- -- -- @function [parent=#ActionTimeline] removeAnimationInfo -- @param self -- @param #string animationName -- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) -------------------------------- -- Get current animation speed. -- @function [parent=#ActionTimeline] getTimeSpeed -- @param self -- @return float#float ret (return value: float) -------------------------------- -- AnimationInfo -- @function [parent=#ActionTimeline] addAnimationInfo -- @param self -- @param #ccs.AnimationInfo animationInfo -- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) -------------------------------- -- -- @function [parent=#ActionTimeline] getDuration -- @param self -- @return int#int ret (return value: int) -------------------------------- -- Goto the specified frame index, and pause at this index.
-- param startIndex The animation will pause at this index. -- @function [parent=#ActionTimeline] gotoFrameAndPause -- @param self -- @param #int startIndex -- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) -------------------------------- -- Whether or not Action is playing. -- @function [parent=#ActionTimeline] isPlaying -- @param self -- @return bool#bool ret (return value: bool) -------------------------------- -- @overload self, int, bool -- @overload self, int -- @overload self, int, int, bool -- @overload self, int, int, int, bool -- @function [parent=#ActionTimeline] gotoFrameAndPlay -- @param self -- @param #int startIndex -- @param #int endIndex -- @param #int currentFrameIndex -- @param #bool loop -- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) -------------------------------- -- -- @function [parent=#ActionTimeline] IsAnimationInfoExists -- @param self -- @param #string animationName -- @return bool#bool ret (return value: bool) -------------------------------- -- End frame of this action.
-- When action play to this frame, if action is not loop, then it will stop,
-- or it will play from start frame again. -- @function [parent=#ActionTimeline] getEndFrame -- @param self -- @return int#int ret (return value: int) -------------------------------- -- Set the animation speed, this will speed up or slow down the speed. -- @function [parent=#ActionTimeline] setTimeSpeed -- @param self -- @param #float speed -- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) -------------------------------- -- -- @function [parent=#ActionTimeline] clearLastFrameCallFunc -- @param self -- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) -------------------------------- -- duration of the whole action -- @function [parent=#ActionTimeline] setDuration -- @param self -- @param #int duration -- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) -------------------------------- -- Set current frame index, this will cause action plays to this frame. -- @function [parent=#ActionTimeline] setCurrentFrame -- @param self -- @param #int frameIndex -- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) -------------------------------- -- -- @function [parent=#ActionTimeline] create -- @param self -- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline) -------------------------------- -- -- @function [parent=#ActionTimeline] step -- @param self -- @param #float delta -- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) -------------------------------- -- -- @function [parent=#ActionTimeline] startWithTarget -- @param self -- @param #cc.Node target -- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) -------------------------------- -- Returns a clone of ActionTimeline -- @function [parent=#ActionTimeline] clone -- @param self -- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline) -------------------------------- -- Returns a reverse of ActionTimeline.
-- Not implement yet. -- @function [parent=#ActionTimeline] reverse -- @param self -- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline) -------------------------------- -- -- @function [parent=#ActionTimeline] isDone -- @param self -- @return bool#bool ret (return value: bool) -------------------------------- -- -- @function [parent=#ActionTimeline] ActionTimeline -- @param self -- @return ActionTimeline#ActionTimeline self (return value: ccs.ActionTimeline) return nil