23 lines
No EOL
289 B
Lua
23 lines
No EOL
289 B
Lua
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,
|
|
collision = "unmoveable",
|
|
sprite = wallSprite
|
|
})
|
|
end
|
|
|
|
function Wall:update(dt)
|
|
|
|
end
|
|
|
|
function Wall:tick()
|
|
|
|
end |