summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc/TargetedAction.lua
blob: f3d88acfef567c1226d0791c899d2cbed826e738 (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
47
48
49
50
51
---@meta

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




---@overload fun():cc.Node
---@overload fun():cc.Node
---@return cc.Node
function TargetedAction:getForcedTarget () end
---*  Init an action with the specified action and forced target 
---@param target cc.Node
---@param action cc.FiniteTimeAction
---@return boolean
function TargetedAction:initWithTarget (target,action) end
---*  Sets the target that the action will be forced to run with.<br>
---* param forcedTarget The target that the action will be forced to run with.
---@param forcedTarget cc.Node
---@return self
function TargetedAction:setForcedTarget (forcedTarget) end
---*  Create an action with the specified action and forced target.<br>
---* param target The target needs to override.<br>
---* param action The action needs to override.<br>
---* return An autoreleased TargetedAction object.
---@param target cc.Node
---@param action cc.FiniteTimeAction
---@return self
function TargetedAction:create (target,action) end
---* 
---@param target cc.Node
---@return self
function TargetedAction:startWithTarget (target) end
---* 
---@return self
function TargetedAction:clone () end
---* 
---@return self
function TargetedAction:stop () end
---* 
---@return self
function TargetedAction:reverse () end
---* param time In seconds.
---@param time float
---@return self
function TargetedAction:update (time) end
---* 
---@return self
function TargetedAction:TargetedAction () end