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
|
||||
|
||||
function Parent:draw()
|
||||
self:drawHitbox()
|
||||
self:drawMainHitbox()
|
||||
end
|
||||
|
||||
return Parent
|
||||
|
|
|
@ -7,7 +7,7 @@ function Wall:new(world, x, y, w, h)
|
|||
end
|
||||
|
||||
function Wall:draw()
|
||||
self:drawHitbox()
|
||||
self:drawMainHitbox()
|
||||
utils.graphics.resetColor( )
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue