fix(examples): call the right function in movable player example
This commit is contained in:
parent
eafc266544
commit
41cbf40890
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue