summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc/ActionInterval.lua
blob: feea7eefbdd294190cf5ac175ef9bbbe43efc92c (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
36
37
38
39
40
41
42
43
---@meta

---@class cc.ActionInterval :cc.FiniteTimeAction
local ActionInterval={ }
cc.ActionInterval=ActionInterval




---*  Gets the amplitude rate, extension in GridAction<br>
---* return  The amplitude rate.
---@return float
function ActionInterval:getAmplitudeRate () end
---*  initializes the action 
---@param d float
---@return boolean
function ActionInterval:initWithDuration (d) end
---*  Sets the amplitude rate, extension in GridAction<br>
---* param amp   The amplitude rate.
---@param amp float
---@return self
function ActionInterval:setAmplitudeRate (amp) end
---*  How many seconds had elapsed since the actions started to run.<br>
---* return The seconds had elapsed since the actions started to run.
---@return float
function ActionInterval:getElapsed () end
---* 
---@param target cc.Node
---@return self
function ActionInterval:startWithTarget (target) end
---* param dt in seconds
---@param dt float
---@return self
function ActionInterval:step (dt) end
---* 
---@return self
function ActionInterval:clone () end
---* 
---@return self
function ActionInterval:reverse () end
---* 
---@return boolean
function ActionInterval:isDone () end