chroma_solstice/wall.lua

24 lines
337 B
Lua
Raw Normal View History

2015-03-12 03:04:09 -04:00
require "entity"
Wall = class("Wall", Entity)
function Wall:initialize(x, y, color)
Entity.initialize(self, {
x = x,
y = y,
sizeX = 1,
sizeY = 1,
color = color,
cellShape = spriteCells.test_object,
2015-03-12 03:04:09 -04:00
collision = "unmoveable",
sprite = sprites.test_object
2015-03-12 03:04:09 -04:00
})
end
function Wall:update(dt)
end
function Wall:tick()
end