examples/moveplayer: use the right function to draw box

This commit is contained in:
Kazhnuz 2019-04-07 22:29:27 +02:00
parent 262bf97e67
commit 66d98ab9ea

View file

@ -7,7 +7,7 @@ function Parent:new(world, type, x, y, w, h)
end
function Parent:draw()
utils.graphics.drawBox(self.x, self.y, self.w, self.h)
utils.graphics.box(self.x, self.y, self.w, self.h)
end
return Parent