From 66d98ab9ea76b410df71cbadf8ec5fb5759b0373 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sun, 7 Apr 2019 22:29:27 +0200 Subject: [PATCH] examples/moveplayer: use the right function to draw box --- examples/gameplay/moveplayer/actors/parent.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/gameplay/moveplayer/actors/parent.lua b/examples/gameplay/moveplayer/actors/parent.lua index 13f85af..3069c61 100644 --- a/examples/gameplay/moveplayer/actors/parent.lua +++ b/examples/gameplay/moveplayer/actors/parent.lua @@ -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