Fix, collisions now show border in debug
This commit is contained in:
@@ -73,4 +73,6 @@ function Collision:Draw(color)
|
||||
love.graphics.setColor(0,1,1,0.5)
|
||||
end
|
||||
love.graphics.rectangle("fill",self.from.x-Camera.pos.x, self.from.y-Camera.pos.y, self.width, self.height)
|
||||
love.graphics.setColor(0,1,90,0.5)
|
||||
love.graphics.rectangle("line",self.from.x-Camera.pos.x, self.from.y-Camera.pos.y, self.width, self.height)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user