summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/ccs.ActionObject.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/ccs.ActionObject.lua
parentb6c18d05410fd4ca209f9c34e0992caf40cf3701 (diff)
downloadlua-language-server-8fefb8f3e100976235dc83d6ae3785952d11c710.zip
cleanup
Diffstat (limited to 'meta/3rd/Cocos4.0/library/ccs.ActionObject.lua')
-rw-r--r--meta/3rd/Cocos4.0/library/ccs.ActionObject.lua85
1 files changed, 85 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/library/ccs.ActionObject.lua b/meta/3rd/Cocos4.0/library/ccs.ActionObject.lua
new file mode 100644
index 00000000..b9c73f30
--- /dev/null
+++ b/meta/3rd/Cocos4.0/library/ccs.ActionObject.lua
@@ -0,0 +1,85 @@
+---@meta
+
+---@class ccs.ActionObject :cc.Ref
+local ActionObject={ }
+ccs.ActionObject=ActionObject
+
+
+
+
+---* Sets the current time of frame.<br>
+---* param fTime the current time of frame
+---@param fTime float
+---@return self
+function ActionObject:setCurrentTime (fTime) end
+---* Pause the action.
+---@return self
+function ActionObject:pause () end
+---* Sets name for object<br>
+---* param name name of object
+---@param name char
+---@return self
+function ActionObject:setName (name) end
+---* Sets the time interval of frame.<br>
+---* param fTime the time interval of frame
+---@param fTime float
+---@return self
+function ActionObject:setUnitTime (fTime) end
+---* Gets the total time of frame.<br>
+---* return the total time of frame
+---@return float
+function ActionObject:getTotalTime () end
+---* Gets name of object<br>
+---* return name of object
+---@return char
+function ActionObject:getName () end
+---* Stop the action.
+---@return self
+function ActionObject:stop () end
+---@overload fun(cc.CallFunc:cc.CallFunc):self
+---@overload fun():self
+---@param func cc.CallFunc
+---@return self
+function ActionObject:play (func) end
+---* Gets the current time of frame.<br>
+---* return the current time of frame
+---@return float
+function ActionObject:getCurrentTime () end
+---* Removes a ActionNode which play the action.<br>
+---* param node the ActionNode which play the action
+---@param node ccs.ActionNode
+---@return self
+function ActionObject:removeActionNode (node) end
+---* Gets if the action will loop play.<br>
+---* return that if the action will loop play
+---@return boolean
+function ActionObject:getLoop () end
+---* Adds a ActionNode to play the action.<br>
+---* param node the ActionNode which will play the action
+---@param node ccs.ActionNode
+---@return self
+function ActionObject:addActionNode (node) end
+---* Gets the time interval of frame.<br>
+---* return the time interval of frame
+---@return float
+function ActionObject:getUnitTime () end
+---* Return if the action is playing.<br>
+---* return true if the action is playing, false the otherwise
+---@return boolean
+function ActionObject:isPlaying () end
+---*
+---@param fTime float
+---@return self
+function ActionObject:updateToFrameByTime (fTime) end
+---* Sets if the action will loop play.<br>
+---* param bLoop that if the action will loop play
+---@param bLoop boolean
+---@return self
+function ActionObject:setLoop (bLoop) end
+---*
+---@param dt float
+---@return self
+function ActionObject:simulationActionUpdate (dt) end
+---* Default constructor
+---@return self
+function ActionObject:ActionObject () end \ No newline at end of file