summaryrefslogtreecommitdiffhomepage
path: root/not/CloudGenerator.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2018-04-09 21:30:11 +0200
committerAki <nthirtyone@gmail.com>2018-04-09 21:30:11 +0200
commitfa4409cedb322bbd41722f22308f399979fc6676 (patch)
treea7cc4725b003c1932ad88f4fce8548d43605bf9b /not/CloudGenerator.lua
parent96f6ebdaf06650a35dcdb6a1fc3f472b3aab6d8a (diff)
parent290d75dceb905217cb67fcb32e95dbeb45e27e3c (diff)
downloadroflnauts-fa4409cedb322bbd41722f22308f399979fc6676.zip
roflnauts-fa4409cedb322bbd41722f22308f399979fc6676.tar.gz
roflnauts-fa4409cedb322bbd41722f22308f399979fc6676.tar.bz2
Love2D version 0.10.2 -> 11.0
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)