summaryrefslogtreecommitdiff
path: root/source/libs/asura-lib-framework/scripts/component.lua
diff options
context:
space:
mode:
Diffstat (limited to 'source/libs/asura-lib-framework/scripts/component.lua')
-rw-r--r--source/libs/asura-lib-framework/scripts/component.lua30
1 files changed, 0 insertions, 30 deletions
diff --git a/source/libs/asura-lib-framework/scripts/component.lua b/source/libs/asura-lib-framework/scripts/component.lua
deleted file mode 100644
index b560bd3..0000000
--- a/source/libs/asura-lib-framework/scripts/component.lua
+++ /dev/null
@@ -1,30 +0,0 @@
-AsuraEngine.Component = AsuraEngine.Class("Component")
-
-local Component = AsuraEngine.Component
-
--- Component要显示在inspector的变量
-Component.entity = AsuraEngine.Type.Entity
-
-function Component.Extend(cname)
- self.base(cname)
- assert(Component.components[cname] == nil)
-
-end
-
-function Component:Ctor(entity)
- self.entity = entity
-end
-
-function Component:OnEvent(e)
-
-end
-
-function Component:OnUpdate(ms)
-
-end
-
-function Component:OnDraw()
-
-end
-
-return Component \ No newline at end of file