summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc/JumpBy.lua
blob: 9122cb5f89749602a031570a84cf644a69dd66a1 (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
44
45
46
---@meta

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




---* initializes the action<br>
---* param duration in seconds
---@param duration float
---@param position vec2_table
---@param height float
---@param jumps int
---@return boolean
function JumpBy:initWithDuration (duration,position,height,jumps) end
---* Creates the action.<br>
---* param duration Duration time, in seconds.<br>
---* param position The jumping distance.<br>
---* param height The jumping height.<br>
---* param jumps The jumping times.<br>
---* return An autoreleased JumpBy object.
---@param duration float
---@param position vec2_table
---@param height float
---@param jumps int
---@return self
function JumpBy:create (duration,position,height,jumps) end
---* 
---@param target cc.Node
---@return self
function JumpBy:startWithTarget (target) end
---* 
---@return self
function JumpBy:clone () end
---* 
---@return self
function JumpBy:reverse () end
---* param time In seconds.
---@param time float
---@return self
function JumpBy:update (time) end
---* 
---@return self
function JumpBy:JumpBy () end