fix(examples): call the right function in movable player example

This commit is contained in:
Kazhnuz 2019-06-23 15:41:30 +02:00
parent eafc266544
commit 41cbf40890
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ function Parent:new(world, type, x, y, w, h, isSolid)
end
function Parent:draw()
self:drawHitbox()
self:drawMainHitbox()
end
return Parent

View file

@ -7,7 +7,7 @@ function Wall:new(world, x, y, w, h)
end
function Wall:draw()
self:drawHitbox()
self:drawMainHitbox()
utils.graphics.resetColor( )
end