examples/moveplayer: use the right function to draw box
This commit is contained in:
parent
262bf97e67
commit
66d98ab9ea
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ function Parent:new(world, type, x, y, w, h)
|
||||||
end
|
end
|
||||||
|
|
||||||
function Parent:draw()
|
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
|
end
|
||||||
|
|
||||||
return Parent
|
return Parent
|
||||||
|
|
Loading…
Reference in a new issue