summaryrefslogtreecommitdiffhomepage
path: root/not
diff options
context:
space:
mode:
Diffstat (limited to 'not')
-rw-r--r--not/Effect.lua2
-rw-r--r--not/Hero.lua4
2 files changed, 3 insertions, 3 deletions
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