summaryrefslogtreecommitdiff
path: root/component/component.lua
blob: 2432054507d4545a62e0ae6e7cda29ae8d86900a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
local Component = {
	object = nil 
} 

Component.new = function(obj)
	local component = {} 
	setmetatable(component, Component)
	Component.__index = Component
	component:_init(obj)	
end 

Component._init = function(self, obj)
	self.object = obj
end 

Component.update = function(dt) 
	
end 

return Component