summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/cc.Component.lua
blob: 88e0e4f99ea1fad511e4cbdaf7d5f6b7f08d92ac (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

---@class cc.Component :cc.Ref
local Component={ }
cc.Component=Component




---* 
---@param enabled boolean
---@return self
function Component:setEnabled (enabled) end
---* 
---@return self
function Component:onRemove () end
---* 
---@param name string
---@return self
function Component:setName (name) end
---* 
---@return boolean
function Component:isEnabled () end
---* 
---@param delta float
---@return self
function Component:update (delta) end
---* 
---@return cc.Node
function Component:getOwner () end
---* 
---@return boolean
function Component:init () end
---* 
---@param owner cc.Node
---@return self
function Component:setOwner (owner) end
---* 
---@return string
function Component:getName () end
---* 
---@return self
function Component:onAdd () end
---* 
---@return self
function Component:create () end