blob: dd843ebbb8a89919d69814d11270c908b590e91d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
local Component = Class()
Component.gameobject = AsuraEngine.Type.GameObject
function Component:Ctor(go)
self.gameobject = go
end
function Component:OnEvent(e)
end
function Component:OnUpdate(ms)
end
function Component:OnDraw()
end
return Component
|