summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/cc.Component.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/Cocos4.0/cc.Component.lua')
-rw-r--r--meta/3rd/Cocos4.0/cc.Component.lua45
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/cc.Component.lua b/meta/3rd/Cocos4.0/cc.Component.lua
new file mode 100644
index 00000000..88e0e4f9
--- /dev/null
+++ b/meta/3rd/Cocos4.0/cc.Component.lua
@@ -0,0 +1,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 \ No newline at end of file