scenes/levels: re-add hitbox drawing

This commit is contained in:
Kazhnuz 2019-06-01 18:23:53 +02:00
parent 1e087836b6
commit f38165e40f
1 changed files with 4 additions and 0 deletions

View File

@ -151,4 +151,8 @@ function Entity:draw()
-- Cette fonction en contient rien par défaut
end
function Entity:drawHitbox()
utils.graphics.box(self.x, self.y, self.w, self.h)
end
return Entity