chroma_solstice/box.lua

23 lines
288 B
Lua
Raw Normal View History

2015-03-12 03:04:09 -04:00
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 = sprites.box[color]
2015-03-12 03:04:09 -04:00
})
end
function Box:update()
end
function Box:tick()
end