summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/ccs/Tween.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/Cocos4.0/library/ccs/Tween.lua')
-rw-r--r--meta/3rd/Cocos4.0/library/ccs/Tween.lua58
1 files changed, 58 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/library/ccs/Tween.lua b/meta/3rd/Cocos4.0/library/ccs/Tween.lua
new file mode 100644
index 00000000..58f978bf
--- /dev/null
+++ b/meta/3rd/Cocos4.0/library/ccs/Tween.lua
@@ -0,0 +1,58 @@
+---@meta
+
+---@class ccs.Tween
+local Tween={ }
+ccs.Tween=Tween
+
+
+
+
+---*
+---@return ccs.ArmatureAnimation
+function Tween:getAnimation () end
+---*
+---@param frameIndex int
+---@return self
+function Tween:gotoAndPause (frameIndex) end
+---* Start the Process<br>
+---* param movementBoneData the MovementBoneData include all FrameData<br>
+---* param durationTo the number of frames changing to this animation needs.<br>
+---* param durationTween the number of frames this animation actual last.<br>
+---* param loop whether the animation is loop<br>
+---* loop < 0 : use the value from MovementData get from Action Editor<br>
+---* loop = 0 : this animation is not loop<br>
+---* loop > 0 : this animation is loop<br>
+---* param tweenEasing tween easing is used for calculate easing effect<br>
+---* TWEEN_EASING_MAX : use the value from MovementData get from Action Editor<br>
+---* -1 : fade out<br>
+---* 0 : line<br>
+---* 1 : fade in<br>
+---* 2 : fade in and out
+---@param movementBoneData ccs.MovementBoneData
+---@param durationTo int
+---@param durationTween int
+---@param loop int
+---@param tweenEasing int
+---@return self
+function Tween:play (movementBoneData,durationTo,durationTween,loop,tweenEasing) end
+---*
+---@param frameIndex int
+---@return self
+function Tween:gotoAndPlay (frameIndex) end
+---* Init with a Bone<br>
+---* param bone the Bone Tween will bind to
+---@param bone ccs.Bone
+---@return boolean
+function Tween:init (bone) end
+---*
+---@param animation ccs.ArmatureAnimation
+---@return self
+function Tween:setAnimation (animation) end
+---* Create with a Bone<br>
+---* param bone the Bone Tween will bind to
+---@param bone ccs.Bone
+---@return self
+function Tween:create (bone) end
+---*
+---@return self
+function Tween:Tween () end \ No newline at end of file