From 41cbf408906542f52e5866699d2b9305d206b720 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sun, 23 Jun 2019 15:41:30 +0200 Subject: [PATCH] fix(examples): call the right function in movable player example --- examples/gameplay/moveplayer/actors/parent.lua | 2 +- examples/gameplay/moveplayer/actors/wall.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/gameplay/moveplayer/actors/parent.lua b/examples/gameplay/moveplayer/actors/parent.lua index 502d7b6..3ca81f5 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, isSolid) end function Parent:draw() - self:drawHitbox() + self:drawMainHitbox() end return Parent diff --git a/examples/gameplay/moveplayer/actors/wall.lua b/examples/gameplay/moveplayer/actors/wall.lua index 2981cb4..bc35e3a 100644 --- a/examples/gameplay/moveplayer/actors/wall.lua +++ b/examples/gameplay/moveplayer/actors/wall.lua @@ -7,7 +7,7 @@ function Wall:new(world, x, y, w, h) end function Wall:draw() - self:drawHitbox() + self:drawMainHitbox() utils.graphics.resetColor( ) end