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 end
function Parent:draw() function Parent:draw()
self:drawHitbox() self:drawMainHitbox()
end end
return Parent return Parent

View file

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