summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc/Timer.lua
blob: e7078c8a6f585f599f7908f1d0b86490d6bd435b (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
35
---@meta

---@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