summaryrefslogtreecommitdiffhomepage
path: root/not/Sprite.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/Sprite.lua
parent19e6728c339cb029ab9a6b7762d60abe790b772a (diff)
downloadroflnauts-2e352657813b37d17c2215b85189f18a50c099f9.zip
roflnauts-2e352657813b37d17c2215b85189f18a50c099f9.tar.gz
roflnauts-2e352657813b37d17c2215b85189f18a50c099f9.tar.bz2
Comments, todos, pretty useless
Diffstat (limited to 'not/Sprite.lua')
-rw-r--r--not/Sprite.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/not/Sprite.lua b/not/Sprite.lua
index e9eb387..f9a9cb4 100644
--- a/not/Sprite.lua
+++ b/not/Sprite.lua
@@ -82,6 +82,7 @@ end
-- Drawing self to LOVE2D buffer.
-- 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 (...)
local i, q = self:getImage(), self:getQuad()
if i then