diff options
-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 |