diff options
author | Aki <nthirtyone@gmail.com> | 2017-04-08 20:38:45 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-04-08 20:38:45 +0200 |
commit | a03c1125f10fbbad253a0efc4727072fcbd55345 (patch) | |
tree | 8d270eb07f589d2487b3ce66d4865e5a4718042a | |
parent | 1c3040de93f9d5a164ccb06194eacc28eead0234 (diff) | |
download | roflnauts-a03c1125f10fbbad253a0efc4727072fcbd55345.zip roflnauts-a03c1125f10fbbad253a0efc4727072fcbd55345.tar.gz roflnauts-a03c1125f10fbbad253a0efc4727072fcbd55345.tar.bz2 |
Moved configs from root directory to config directory
-rw-r--r-- | config/animations/effects.lua (renamed from effects.lua) | 0 | ||||
-rw-r--r-- | config/animations/hero.lua (renamed from animations.lua) | 0 | ||||
-rw-r--r-- | config/sounds.lua (renamed from sounds.lua) | 0 | ||||
-rw-r--r-- | not/Effect.lua | 2 | ||||
-rw-r--r-- | not/Hero.lua | 4 |
5 files changed, 3 insertions, 3 deletions
diff --git a/effects.lua b/config/animations/effects.lua index dd6d55e..dd6d55e 100644 --- a/effects.lua +++ b/config/animations/effects.lua diff --git a/animations.lua b/config/animations/hero.lua index 881da49..881da49 100644 --- a/animations.lua +++ b/config/animations/hero.lua diff --git a/sounds.lua b/config/sounds.lua index c30af16..c30af16 100644 --- a/sounds.lua +++ b/config/sounds.lua diff --git a/not/Effect.lua b/not/Effect.lua index 4051b92..dd7570a 100644 --- a/not/Effect.lua +++ b/not/Effect.lua @@ -24,7 +24,7 @@ end -- Initializer of `Effect`. function Effect:init (name, x, y) Decoration.init(self, x, y, nil) - self:setAnimationsList(require("effects")) + self:setAnimationsList(require("config.animations.effects")) self:setAnimation(name) end diff --git a/not/Hero.lua b/not/Hero.lua index 4150024..feb61da 100644 --- a/not/Hero.lua +++ b/not/Hero.lua @@ -28,7 +28,7 @@ Hero = { portrait_frame = nil, portrait_sheet = getNautsIconsList(), portrait_box = love.graphics.newQuad( 0, 15, 32,32, 80,130), - sfx = require "sounds", + sfx = require "config.sounds", } -- `Hero` is a child of `PhysicalBody`. @@ -68,7 +68,7 @@ function Hero:init (name, world, x, y) self.world = world self.punchCooldown = 0 self.name = name - self:setAnimationsList(require("animations")) + self:setAnimationsList(require("config.animations.hero")) self:createEffect("respawn") end |