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