diff --git a/walls.lua b/walls.lua index 68a68eb..d53f624 100644 --- a/walls.lua +++ b/walls.lua @@ -8,10 +8,6 @@ function Wall:new(x, y, w, h, lifetime) self.lifetime = lifetime end -function lerp(a, b, t) - return a + (b - a) * t -end - function Wall:update(dt) --slowly decrease the lifetime of the wall self.lifetime = self.lifetime - dt @@ -26,7 +22,7 @@ function Wall:update(dt) end function Wall:draw() - local rectangleColor = { 1, 0, 0 } -- Starting color (red) + local rectangleColor = { 1, 1, 1 } love.graphics.setColor(rectangleColor) --white love.graphics.rectangle("fill", self.x, self.y, self.w, self.h) end