From 94f84647255e6d18f1e20ac0a1b8c8c9860b918e Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 19 Mar 2017 04:20:46 +0100 Subject: Debug is obsolete in not.Sprite --- not/Sprite.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'not') diff --git a/not/Sprite.lua b/not/Sprite.lua index a8785d3..25d85f1 100644 --- a/not/Sprite.lua +++ b/not/Sprite.lua @@ -104,10 +104,9 @@ end -- If there is no Quad, it will draw entire image. It won't draw anything if there is no image. -- TODO: it doesn't follow same pattern as `not.Hero.draw`. It should implement so it can be called from `not.World`. -- TODO: change children if above changes are in effect: `not.Platform`, `not.Decoration`. -function Sprite:draw (offset_x, offset_y, scale, debug) +function Sprite:draw (offset_x, offset_y, scale) local offset_x = offset_x or 0 local offset_y = offset_y or 0 - local debug = debug or false local i, q = self:getImage(), self:getQuad() local x, y = self:getPosition() -- cgit v1.1