summaryrefslogtreecommitdiffhomepage
path: root/not/CloudGenerator.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2018-04-08 15:20:58 +0200
committerAki <nthirtyone@gmail.com>2018-04-08 15:20:58 +0200
commitea62ce8ec8ae07ff6d421b4146d2503ef0f67574 (patch)
treeb0adc2b1735d103e55aed7bdd0c462b2ea5e359f /not/CloudGenerator.lua
parent08271656cbe18fbc4432fc758ac42750e818da84 (diff)
parent290d75dceb905217cb67fcb32e95dbeb45e27e3c (diff)
downloadroflnauts-ea62ce8ec8ae07ff6d421b4146d2503ef0f67574.zip
roflnauts-ea62ce8ec8ae07ff6d421b4146d2503ef0f67574.tar.gz
roflnauts-ea62ce8ec8ae07ff6d421b4146d2503ef0f67574.tar.bz2
Merge branch 'love-11.0' into control
Diffstat (limited to 'not/CloudGenerator.lua')
-rw-r--r--not/CloudGenerator.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/not/CloudGenerator.lua b/not/CloudGenerator.lua
index e72514b..62cac5c 100644
--- a/not/CloudGenerator.lua
+++ b/not/CloudGenerator.lua
@@ -17,7 +17,7 @@ end
-- TODO: This was a bad idea. Move Cloud creation back to World, pass created Cloud here for configuration.
function CloudGenerator:createCloud (x, y, style)
local cloud = Cloud(x, y, self.world, self.atlas)
- cloud:setAnimationsList(self.quads)
+ cloud:setAnimations(self.quads)
cloud:setAnimation(style)
cloud:setVelocity(13, 0)
cloud:setBoundary(340, 320)