From b4fcd3316373a48adf0cf966647032178d610ef9 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sun, 26 Jan 2020 11:08:47 +0100 Subject: [PATCH] chore: add level collisions in a specific folder --- .../game/modules/world/actors/{ => collisions}/floor.lua | 0 .../modules/world/actors/{ => collisions}/invisible.lua | 0 .../modules/world/actors/{ => collisions}/textured.lua | 0 .../game/modules/world/actors/{ => collisions}/wall.lua | 0 sonic-bluestreak.love/game/modules/world/actors/init.lua | 8 ++++---- 5 files changed, 4 insertions(+), 4 deletions(-) rename sonic-bluestreak.love/game/modules/world/actors/{ => collisions}/floor.lua (100%) rename sonic-bluestreak.love/game/modules/world/actors/{ => collisions}/invisible.lua (100%) rename sonic-bluestreak.love/game/modules/world/actors/{ => collisions}/textured.lua (100%) rename sonic-bluestreak.love/game/modules/world/actors/{ => collisions}/wall.lua (100%) diff --git a/sonic-bluestreak.love/game/modules/world/actors/floor.lua b/sonic-bluestreak.love/game/modules/world/actors/collisions/floor.lua similarity index 100% rename from sonic-bluestreak.love/game/modules/world/actors/floor.lua rename to sonic-bluestreak.love/game/modules/world/actors/collisions/floor.lua diff --git a/sonic-bluestreak.love/game/modules/world/actors/invisible.lua b/sonic-bluestreak.love/game/modules/world/actors/collisions/invisible.lua similarity index 100% rename from sonic-bluestreak.love/game/modules/world/actors/invisible.lua rename to sonic-bluestreak.love/game/modules/world/actors/collisions/invisible.lua diff --git a/sonic-bluestreak.love/game/modules/world/actors/textured.lua b/sonic-bluestreak.love/game/modules/world/actors/collisions/textured.lua similarity index 100% rename from sonic-bluestreak.love/game/modules/world/actors/textured.lua rename to sonic-bluestreak.love/game/modules/world/actors/collisions/textured.lua diff --git a/sonic-bluestreak.love/game/modules/world/actors/wall.lua b/sonic-bluestreak.love/game/modules/world/actors/collisions/wall.lua similarity index 100% rename from sonic-bluestreak.love/game/modules/world/actors/wall.lua rename to sonic-bluestreak.love/game/modules/world/actors/collisions/wall.lua diff --git a/sonic-bluestreak.love/game/modules/world/actors/init.lua b/sonic-bluestreak.love/game/modules/world/actors/init.lua index 5e8e7c0..2039495 100644 --- a/sonic-bluestreak.love/game/modules/world/actors/init.lua +++ b/sonic-bluestreak.love/game/modules/world/actors/init.lua @@ -8,9 +8,9 @@ Obj.index = {} Obj.index["player"] = Obj.Player Obj.collisions = {} -Obj.collisions["wall"] = require(cwd .. "wall") -Obj.collisions["invisible"] = require(cwd .. "invisible") -Obj.collisions["floor"] = require(cwd .. "floor") -Obj.collisions["textured"] = require(cwd .. "textured") +Obj.collisions["wall"] = require(cwd .. "collisions.wall") +Obj.collisions["invisible"] = require(cwd .. "collisions.invisible") +Obj.collisions["floor"] = require(cwd .. "collisions.floor") +Obj.collisions["textured"] = require(cwd .. "collisions.textured") return Obj