summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc.ActionTween.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-05 20:51:43 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-05 20:51:43 +0800
commit8fefb8f3e100976235dc83d6ae3785952d11c710 (patch)
tree459117e6cecc70824273c4d32285cb6eec468098 /meta/3rd/Cocos4.0/library/cc.ActionTween.lua
parentb6c18d05410fd4ca209f9c34e0992caf40cf3701 (diff)
downloadlua-language-server-8fefb8f3e100976235dc83d6ae3785952d11c710.zip
cleanup
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc.ActionTween.lua')
-rw-r--r--meta/3rd/Cocos4.0/library/cc.ActionTween.lua47
1 files changed, 47 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/library/cc.ActionTween.lua b/meta/3rd/Cocos4.0/library/cc.ActionTween.lua
new file mode 100644
index 00000000..8ee28f6e
--- /dev/null
+++ b/meta/3rd/Cocos4.0/library/cc.ActionTween.lua
@@ -0,0 +1,47 @@
+---@meta
+
+---@class cc.ActionTween :cc.ActionInterval
+local ActionTween={ }
+cc.ActionTween=ActionTween
+
+
+
+
+---* brief Initializes the action with the property name (key), and the from and to parameters.<br>
+---* param duration The duration of the ActionTween. It's a value in seconds.<br>
+---* param key The key of property which should be updated.<br>
+---* param from The value of the specified property when the action begin.<br>
+---* param to The value of the specified property when the action end.<br>
+---* return If the initialization success, return true; otherwise, return false.
+---@param duration float
+---@param key string
+---@param from float
+---@param to float
+---@return boolean
+function ActionTween:initWithDuration (duration,key,from,to) end
+---* brief Create and initializes the action with the property name (key), and the from and to parameters.<br>
+---* param duration The duration of the ActionTween. It's a value in seconds.<br>
+---* param key The key of property which should be updated.<br>
+---* param from The value of the specified property when the action begin.<br>
+---* param to The value of the specified property when the action end.<br>
+---* return If the creation success, return a pointer of ActionTween; otherwise, return nil.
+---@param duration float
+---@param key string
+---@param from float
+---@param to float
+---@return self
+function ActionTween:create (duration,key,from,to) end
+---*
+---@param target cc.Node
+---@return self
+function ActionTween:startWithTarget (target) end
+---*
+---@return self
+function ActionTween:clone () end
+---*
+---@param dt float
+---@return self
+function ActionTween:update (dt) end
+---*
+---@return self
+function ActionTween:reverse () end \ No newline at end of file