summaryrefslogtreecommitdiffhomepage
path: root/not/Trap.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/Trap.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/Trap.lua')
-rw-r--r--not/Trap.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/not/Trap.lua b/not/Trap.lua
index 0867a36..ec208bc 100644
--- a/not/Trap.lua
+++ b/not/Trap.lua
@@ -2,7 +2,7 @@ Trap = require "not.PhysicalBody":extends()
function Trap:new (direction, x, y, world, imagePath)
Trap.__super.new(self, x, y, world, imagePath)
- self:setAnimationsList(require("config.animations.flames"))
+ self:setAnimations(require("config.animations.flames"))
self:setBodyType("static")
local mirror = 1