summaryrefslogtreecommitdiff
path: root/source/libs/asura-lib-framework/scripts/component.lua
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-03-29 22:51:04 +0800
committerchai <chaifix@163.com>2019-03-29 22:51:04 +0800
commitc302f5ae5f9e30a28e487e8a764d9cc31546bbea (patch)
tree7f18bedeece950600336ea7ced7c52c468552c98 /source/libs/asura-lib-framework/scripts/component.lua
parent157530b8b6e11efc5573d5a0db8987a440197aa1 (diff)
*rename
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