blob: 54e0f46ba6f615c9c0538765e6a9ae6347f51005 (
plain)
1
2
3
4
5
6
7
8
9
|
local component = require 'component'
-- component for objects that are drawable
local Drawable = component()
function Drawable:init(inst)
inst.z = inst.z or 0
end
return Drawable
|