From 290d75dceb905217cb67fcb32e95dbeb45e27e3c Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 7 Apr 2018 19:23:14 +0200 Subject: Renamed setAnimationsList to setAnimations to follow love's naming convention --- not/Platform.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'not/Platform.lua') 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} -- cgit v1.1