summaryrefslogtreecommitdiffhomepage
path: root/not/CloudGenerator.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2018-04-07 19:23:14 +0200
committerAki <nthirtyone@gmail.com>2018-04-07 19:23:14 +0200
commit290d75dceb905217cb67fcb32e95dbeb45e27e3c (patch)
treea7cc4725b003c1932ad88f4fce8548d43605bf9b /not/CloudGenerator.lua
parent6c487d44312dd96fb37825ea3fc7354f108fdfb6 (diff)
downloadroflnauts-290d75dceb905217cb67fcb32e95dbeb45e27e3c.zip
roflnauts-290d75dceb905217cb67fcb32e95dbeb45e27e3c.tar.gz
roflnauts-290d75dceb905217cb67fcb32e95dbeb45e27e3c.tar.bz2
Renamed setAnimationsList to setAnimations to follow love's naming convention
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)