chroma_solstice/box.lua
2015-03-12 03:04:09 -04:00

23 lines
No EOL
286 B
Lua

require "entity"
Box = class("Box", Entity)
function Box:initialize(x, y, color)
Entity.initialize(self, {
x = x,
y = y,
sizeX = 1,
sizeY = 1,
color = color,
collision = "moveable",
sprite = boxSprite[color]
})
end
function Box:update()
end
function Box:tick()
end