summaryrefslogtreecommitdiffhomepage
path: root/not/Platform.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-03-19 03:29:32 +0100
committerAki <nthirtyone@gmail.com>2017-03-19 03:29:32 +0100
commit2e352657813b37d17c2215b85189f18a50c099f9 (patch)
tree8ecbf2a0be065a14e0f679b10987e8b278afb882 /not/Platform.lua
parent19e6728c339cb029ab9a6b7762d60abe790b772a (diff)
downloadroflnauts-2e352657813b37d17c2215b85189f18a50c099f9.zip
roflnauts-2e352657813b37d17c2215b85189f18a50c099f9.tar.gz
roflnauts-2e352657813b37d17c2215b85189f18a50c099f9.tar.bz2
Comments, todos, pretty useless
Diffstat (limited to 'not/Platform.lua')
-rw-r--r--not/Platform.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/not/Platform.lua b/not/Platform.lua
index 9b7b03c..ecf0377 100644
--- a/not/Platform.lua
+++ b/not/Platform.lua
@@ -1,6 +1,8 @@
-- `Platform`
-- Static platform physical object with a sprite. `Players` can walk on it.
-- Collision category: [1]
+-- TODO: reformat code to follow new code patterns
+-- TODO: comment uncovered code parts
-- WHOLE CODE HAS FLAG OF "need a cleanup"
require "not.Sprite"
@@ -51,6 +53,7 @@ function Platform:getPosition()
end
-- Draw of `Platform`
+-- TODO: see todos in `not.Sprite.draw`.
function Platform:draw (offset_x, offset_y, scale, debug)
-- locals
local offset_x = offset_x or 0