summaryrefslogtreecommitdiffhomepage
path: root/not
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-13 05:12:05 +0200
committerAki <nthirtyone@gmail.com>2017-09-13 05:12:05 +0200
commit25cb85e044c7ee03aef637db8fbbf7d42de64b82 (patch)
treeaf981e5f35620de1fdc5c377cb258f924229a5b1 /not
parentb7af282afe5de671bbd0e72099d8f063ef65b71a (diff)
downloadroflnauts-25cb85e044c7ee03aef637db8fbbf7d42de64b82.zip
roflnauts-25cb85e044c7ee03aef637db8fbbf7d42de64b82.tar.gz
roflnauts-25cb85e044c7ee03aef637db8fbbf7d42de64b82.tar.bz2
Notes on cloud positions randomization for future self
Diffstat (limited to 'not')
-rw-r--r--not/CloudGenerator.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/not/CloudGenerator.lua b/not/CloudGenerator.lua
index f9eaf40..0fa4271 100644
--- a/not/CloudGenerator.lua
+++ b/not/CloudGenerator.lua
@@ -27,6 +27,7 @@ function CloudGenerator:createCloud (x, y, style)
end
-- TODO: CloudGen's randomization methods are too static (not configurable).
+-- TODO: Random position for Clouds inside map shouldn't be random. Make them place them where no clouds are present.
function CloudGenerator:getRandomPosition (inside)
local x, y
local map = self.world.map