From 2e352657813b37d17c2215b85189f18a50c099f9 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 19 Mar 2017 03:29:32 +0100 Subject: Comments, todos, pretty useless --- not/Hero.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'not/Hero.lua') diff --git a/not/Hero.lua b/not/Hero.lua index bd8c55c..a6facd9 100644 --- a/not/Hero.lua +++ b/not/Hero.lua @@ -83,6 +83,7 @@ function Hero:getControlSet () end -- Update callback of `Hero` +-- TODO: Explode this function (method, kek), move controler-related parts to `not.Player`, physics parts to `not.PhysicalBody`. function Hero:update (dt) -- hotfix? for destroyed bodies if self.body:isDestroyed() then return end @@ -280,6 +281,7 @@ function Hero:controlreleased (set, action, key) end -- Draw of `Hero` +-- TODO: see `not.PhysicalBody.draw` and `not.Sprite.draw`. function Hero:draw (offset_x, offset_y, scale, debug) -- draw only alive if not self.alive then return end -- cgit v1.1