summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc.ActionFloat.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.ActionFloat.lua
parentb6c18d05410fd4ca209f9c34e0992caf40cf3701 (diff)
downloadlua-language-server-8fefb8f3e100976235dc83d6ae3785952d11c710.zip
cleanup
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc.ActionFloat.lua')
-rw-r--r--meta/3rd/Cocos4.0/library/cc.ActionFloat.lua46
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/library/cc.ActionFloat.lua b/meta/3rd/Cocos4.0/library/cc.ActionFloat.lua
new file mode 100644
index 00000000..861e1805
--- /dev/null
+++ b/meta/3rd/Cocos4.0/library/cc.ActionFloat.lua
@@ -0,0 +1,46 @@
+---@meta
+
+---@class cc.ActionFloat :cc.ActionInterval
+local ActionFloat={ }
+cc.ActionFloat=ActionFloat
+
+
+
+
+---*
+---@param duration float
+---@param from float
+---@param to float
+---@param callback function
+---@return boolean
+function ActionFloat:initWithDuration (duration,from,to,callback) end
+---* Creates FloatAction with specified duration, from value, to value and callback to report back<br>
+---* results<br>
+---* param duration of the action<br>
+---* param from value to start from<br>
+---* param to value to be at the end of the action<br>
+---* param callback to report back result<br>
+---* return An autoreleased ActionFloat object
+---@param duration float
+---@param from float
+---@param to float
+---@param callback function
+---@return self
+function ActionFloat:create (duration,from,to,callback) end
+---* Overridden ActionInterval methods
+---@param target cc.Node
+---@return self
+function ActionFloat:startWithTarget (target) end
+---*
+---@return self
+function ActionFloat:clone () end
+---*
+---@param delta float
+---@return self
+function ActionFloat:update (delta) end
+---*
+---@return self
+function ActionFloat:reverse () end
+---*
+---@return self
+function ActionFloat:ActionFloat () end \ No newline at end of file