summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/cc.Timer.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/Cocos4.0/cc.Timer.lua')
-rw-r--r--meta/3rd/Cocos4.0/cc.Timer.lua34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/cc.Timer.lua b/meta/3rd/Cocos4.0/cc.Timer.lua
new file mode 100644
index 00000000..1517a3ef
--- /dev/null
+++ b/meta/3rd/Cocos4.0/cc.Timer.lua
@@ -0,0 +1,34 @@
+
+---@class cc.Timer :cc.Ref
+local Timer={ }
+cc.Timer=Timer
+
+
+
+
+---*
+---@param seconds float
+---@param _repeat unsigned_int
+---@param delay float
+---@return self
+function Timer:setupTimerWithInterval (seconds,_repeat,delay) end
+---* triggers the timer
+---@param dt float
+---@return self
+function Timer:update (dt) end
+---*
+---@return boolean
+function Timer:isAborted () end
+---*
+---@return boolean
+function Timer:isExhausted () end
+---*
+---@param dt float
+---@return self
+function Timer:trigger (dt) end
+---*
+---@return self
+function Timer:cancel () end
+---*
+---@return self
+function Timer:setAborted () end \ No newline at end of file