chroma_solstice/wall.lua

24 lines
323 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,
2015-03-17 01:59:14 -04:00
cellShape = spriteCells.wall,
2015-03-12 03:04:09 -04:00
collision = "unmoveable",
2015-03-17 01:59:14 -04:00
sprite = sprites.wall
2015-03-12 03:04:09 -04:00
})
end
function Wall:update(dt)
end
function Wall:tick()
end