summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/cc.Timer.lua
blob: 1517a3efd6699c5869e536f5765cb58823640cc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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