diff options
author | Aki <nthirtyone@gmail.com> | 2018-04-07 19:23:14 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2018-04-07 19:23:14 +0200 |
commit | 290d75dceb905217cb67fcb32e95dbeb45e27e3c (patch) | |
tree | a7cc4725b003c1932ad88f4fce8548d43605bf9b /not/Platform.lua | |
parent | 6c487d44312dd96fb37825ea3fc7354f108fdfb6 (diff) | |
download | roflnauts-290d75dceb905217cb67fcb32e95dbeb45e27e3c.zip roflnauts-290d75dceb905217cb67fcb32e95dbeb45e27e3c.tar.gz roflnauts-290d75dceb905217cb67fcb32e95dbeb45e27e3c.tar.bz2 |
Renamed setAnimationsList to setAnimations to follow love's naming convention
Diffstat (limited to 'not/Platform.lua')
-rw-r--r-- | not/Platform.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/not/Platform.lua b/not/Platform.lua index a4b3a59..29c74cf 100644 --- a/not/Platform.lua +++ b/not/Platform.lua @@ -8,7 +8,7 @@ Platform = PhysicalBody:extends() -- Constructor of `Platform` function Platform:new (animations, shape, x, y, world, imagePath) Platform.__super.new(self, x, y, world, imagePath) - self:setAnimationsList(animations) + self:setAnimations(animations) -- Create table of shapes if single shape is passed. if type(shape[1]) == "number" then shape = {shape} |