summaryrefslogtreecommitdiffhomepage
path: root/not/Sprite.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-20 16:56:51 +0200
committerAki <nthirtyone@gmail.com>2017-09-20 16:56:51 +0200
commit4d2d55b4fcd22a8a66be1ece5c2d1faad867a788 (patch)
tree5dacdb41a21f41da399db69723ce299d9c09f850 /not/Sprite.lua
parent69d3ae7be97b177dacb06cec4873b7a27ccb70cb (diff)
downloadroflnauts-4d2d55b4fcd22a8a66be1ece5c2d1faad867a788.zip
roflnauts-4d2d55b4fcd22a8a66be1ece5c2d1faad867a788.tar.gz
roflnauts-4d2d55b4fcd22a8a66be1ece5c2d1faad867a788.tar.bz2
Removed obsolete create methods
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 33b8ac8..ec23eac 100644
--- a/not/Sprite.lua
+++ b/not/Sprite.lua
@@ -11,6 +11,7 @@ Sprite.frame = 1
Sprite.delay = .1
-- Constructor of `Sprite`.
+-- TODO: Sprites' in general don't take actual Image in constructor. That is not only case of Decoration.
function Sprite:new (imagePath)
if type(imagePath) == "string" then
self:setImage(Sprite.newImage(imagePath))