summaryrefslogtreecommitdiffhomepage
path: root/not/Entity.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-05-26 22:46:50 +0200
committerAki <nthirtyone@gmail.com>2017-05-26 22:46:50 +0200
commit8e7c7d2a4ca74fcb58f36424b05a96d358208e39 (patch)
tree4b6c82b76cae8b9508922e7daf632f1c45a71fa5 /not/Entity.lua
parent5d744fdc20fefde18d4176e7e25273d27c217007 (diff)
downloadroflnauts-8e7c7d2a4ca74fcb58f36424b05a96d358208e39.zip
roflnauts-8e7c7d2a4ca74fcb58f36424b05a96d358208e39.tar.gz
roflnauts-8e7c7d2a4ca74fcb58f36424b05a96d358208e39.tar.bz2
Comment on Entity
Diffstat (limited to 'not/Entity.lua')
-rw-r--r--not/Entity.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/not/Entity.lua b/not/Entity.lua
index 6ba1606..0e21e48 100644
--- a/not/Entity.lua
+++ b/not/Entity.lua
@@ -3,6 +3,7 @@ require "not.Sprite"
--- `Entity`
-- Basic, visible object to be used within World instance. Can be anything. Represented as `Sprite`.
-- We still need to keep old, global way of using modules but there are `returns` on the end at least.
+-- It probably would be nice to move `World` dependency out of it but for now it should stay this way. Later `World` instance could be just passed to methods that need it.
Entity = Sprite:extends()
Entity.world =--[[not.World]]nil