summaryrefslogtreecommitdiff
path: root/Source/Asura.Framework/component.lua
blob: 027c06656aa79c807b7decc40c6024a93080192c (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