diff options
author | Aki <nthirtyone@gmail.com> | 2017-03-19 03:29:32 +0100 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-03-19 03:29:32 +0100 |
commit | 2e352657813b37d17c2215b85189f18a50c099f9 (patch) | |
tree | 8ecbf2a0be065a14e0f679b10987e8b278afb882 /not/Hero.lua | |
parent | 19e6728c339cb029ab9a6b7762d60abe790b772a (diff) | |
download | roflnauts-2e352657813b37d17c2215b85189f18a50c099f9.zip roflnauts-2e352657813b37d17c2215b85189f18a50c099f9.tar.gz roflnauts-2e352657813b37d17c2215b85189f18a50c099f9.tar.bz2 |
Comments, todos, pretty useless
Diffstat (limited to 'not/Hero.lua')
-rw-r--r-- | not/Hero.lua | 2 |
1 files changed, 2 insertions, 0 deletions
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 |