---@class ccs.ArmatureAnimation local ArmatureAnimation={ } ccs.ArmatureAnimation=ArmatureAnimation ---* ---@return float function ArmatureAnimation:getSpeedScale () end ---* Play animation by animation name.
---* param animationName The animation name you want to play
---* param durationTo The frames between two animation changing-over.
---* It's meaning is changing to this animation need how many frames
---* -1 : use the value from MovementData get from flash design panel
---* param loop Whether the animation is loop
---* loop < 0 : use the value from MovementData get from flash design panel
---* loop = 0 : this animation is not loop
---* loop > 0 : this animation is loop ---@param animationName string ---@param durationTo int ---@param loop int ---@return self function ArmatureAnimation:play (animationName,durationTo,loop) end ---* Go to specified frame and pause current movement. ---@param frameIndex int ---@return self function ArmatureAnimation:gotoAndPause (frameIndex) end ---* ---@param movementIndexes array_table ---@param durationTo int ---@param loop boolean ---@return self function ArmatureAnimation:playWithIndexes (movementIndexes,durationTo,loop) end ---* ---@param data ccs.AnimationData ---@return self function ArmatureAnimation:setAnimationData (data) end ---* Scale animation play speed.
---* param animationScale Scale value ---@param speedScale float ---@return self function ArmatureAnimation:setSpeedScale (speedScale) end ---* ---@return ccs.AnimationData function ArmatureAnimation:getAnimationData () end ---* Go to specified frame and play current movement.
---* You need first switch to the movement you want to play, then call this function.
---* example : playByIndex(0);
---* gotoAndPlay(0);
---* playByIndex(1);
---* gotoAndPlay(0);
---* gotoAndPlay(15); ---@param frameIndex int ---@return self function ArmatureAnimation:gotoAndPlay (frameIndex) end ---* Init with a Armature
---* param armature The Armature ArmatureAnimation will bind to ---@param armature ccs.Armature ---@return boolean function ArmatureAnimation:init (armature) end ---* ---@param movementNames array_table ---@param durationTo int ---@param loop boolean ---@return self function ArmatureAnimation:playWithNames (movementNames,durationTo,loop) end ---* Get movement count ---@return int function ArmatureAnimation:getMovementCount () end ---* ---@param animationIndex int ---@param durationTo int ---@param loop int ---@return self function ArmatureAnimation:playWithIndex (animationIndex,durationTo,loop) end ---* Get current movementID
---* return The name of current movement ---@return string function ArmatureAnimation:getCurrentMovementID () end ---* Create with a Armature
---* param armature The Armature ArmatureAnimation will bind to ---@param armature ccs.Armature ---@return self function ArmatureAnimation:create (armature) end ---* Pause the Process ---@return self function ArmatureAnimation:pause () end ---* Stop the Process ---@return self function ArmatureAnimation:stop () end ---* ---@param dt float ---@return self function ArmatureAnimation:update (dt) end ---* Resume the Process ---@return self function ArmatureAnimation:resume () end ---* js ctor ---@return self function ArmatureAnimation:ArmatureAnimation () end