---@class ccs.ActionTimeline :cc.Action@all parent class: Action,PlayableProtocol local ActionTimeline={ } ccs.ActionTimeline=ActionTimeline ---* ---@return self function ActionTimeline:clearFrameEndCallFuncs () end ---* add a frame end call back to animation's end frame
---* param animationName @addFrameEndCallFunc, make the animationName as funcKey
---* param func the callback function ---@param animationName string ---@param func function ---@return self function ActionTimeline:setAnimationEndCallFunc (animationName,func) end ---* add Timeline to ActionTimeline ---@param timeline ccs.Timeline ---@return self function ActionTimeline:addTimeline (timeline) end ---* Get current frame. ---@return int function ActionTimeline:getCurrentFrame () end ---* Start frame index of this action ---@return int function ActionTimeline:getStartFrame () end ---* Pause the animation. ---@return self function ActionTimeline:pause () end ---* / @{/ @name implement Playable Protocol ---@return self function ActionTimeline:start () end ---* ---@return boolean function ActionTimeline:init () end ---* ---@param timeline ccs.Timeline ---@return self function ActionTimeline:removeTimeline (timeline) end ---* ---@return self function ActionTimeline:clearFrameEventCallFunc () end ---* Last frame callback will call when arriving last frame ---@param listener function ---@return self function ActionTimeline:setLastFrameCallFunc (listener) end ---* ---@return array_table function ActionTimeline:getTimelines () end ---* ---@param animationName string ---@param loop boolean ---@return self function ActionTimeline:play (animationName,loop) end ---* ---@param animationName string ---@return ccs.AnimationInfo function ActionTimeline:getAnimationInfo (animationName) end ---* Resume the animation. ---@return self function ActionTimeline:resume () end ---* add a callback function after played frameIndex
---* param frameIndex the frame index call back after
---* param funcKey for identity the callback function
---* param func the callback function ---@param frameIndex int ---@param funcKey string ---@param func function ---@return self function ActionTimeline:addFrameEndCallFunc (frameIndex,funcKey,func) end ---* ---@param animationName string ---@return self function ActionTimeline:removeAnimationInfo (animationName) end ---* Get current animation speed. ---@return float function ActionTimeline:getTimeSpeed () end ---* AnimationInfo ---@param animationInfo ccs.AnimationInfo ---@return self function ActionTimeline:addAnimationInfo (animationInfo) end ---* ---@return int function ActionTimeline:getDuration () end ---* Goto the specified frame index, and pause at this index.
---* param startIndex The animation will pause at this index. ---@param startIndex int ---@return self function ActionTimeline:gotoFrameAndPause (startIndex) end ---* Whether or not Action is playing. ---@return boolean function ActionTimeline:isPlaying () end ---* ---@param frameIndex int ---@return self function ActionTimeline:removeFrameEndCallFuncs (frameIndex) end ---@overload fun(int:int,int1:boolean):self ---@overload fun(int:int):self ---@overload fun(int:int,int:int,int2:boolean):self ---@overload fun(int:int,int:int,int:int,boolean:boolean):self ---@param startIndex int ---@param endIndex int ---@param currentFrameIndex int ---@param loop boolean ---@return self function ActionTimeline:gotoFrameAndPlay (startIndex,endIndex,currentFrameIndex,loop) end ---* ---@param animationName string ---@return boolean function ActionTimeline:IsAnimationInfoExists (animationName) end ---* 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. ---@return int function ActionTimeline:getEndFrame () end ---* Set the animation speed, this will speed up or slow down the speed. ---@param speed float ---@return self function ActionTimeline:setTimeSpeed (speed) end ---* ---@return self function ActionTimeline:clearLastFrameCallFunc () end ---* duration of the whole action ---@param duration int ---@return self function ActionTimeline:setDuration (duration) end ---* Set current frame index, this will cause action plays to this frame. ---@param frameIndex int ---@return self function ActionTimeline:setCurrentFrame (frameIndex) end ---* ---@param frameIndex int ---@param funcKey string ---@return self function ActionTimeline:removeFrameEndCallFunc (frameIndex,funcKey) end ---* ---@return self function ActionTimeline:create () end ---* ---@param target cc.Node ---@return self function ActionTimeline:startWithTarget (target) end ---* Returns a reverse of ActionTimeline.
---* Not implement yet. ---@return self function ActionTimeline:reverse () end ---* Returns a clone of ActionTimeline ---@return self function ActionTimeline:clone () end ---* ---@return self function ActionTimeline:stop () end ---* ---@param delta float ---@return self function ActionTimeline:step (delta) end ---* ---@return boolean function ActionTimeline:isDone () end ---* ---@return self function ActionTimeline:ActionTimeline () end