From e4b89ddd3186dc8332aa240e2c798fec907eacde Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sun, 14 Jul 2019 18:28:29 +0200 Subject: [PATCH] chore(camera): split camera into a specific folder --- gamecore/modules/world/{camera.lua => camera/init.lua} | 2 +- gamecore/modules/world/{ => camera}/libs/hump/camera.lua | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename gamecore/modules/world/{camera.lua => camera/init.lua} (99%) rename gamecore/modules/world/{ => camera}/libs/hump/camera.lua (100%) diff --git a/gamecore/modules/world/camera.lua b/gamecore/modules/world/camera/init.lua similarity index 99% rename from gamecore/modules/world/camera.lua rename to gamecore/modules/world/camera/init.lua index 464bb07..c04ada6 100644 --- a/gamecore/modules/world/camera.lua +++ b/gamecore/modules/world/camera/init.lua @@ -22,7 +22,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ]] -local cwd = (...):gsub('%.camera$', '') .. "." +local cwd = (...):gsub('%.init$', '') .. "." local CameraSystem = Object:extend() local View = require(cwd .. "libs.hump.camera") diff --git a/gamecore/modules/world/libs/hump/camera.lua b/gamecore/modules/world/camera/libs/hump/camera.lua similarity index 100% rename from gamecore/modules/world/libs/hump/camera.lua rename to gamecore/modules/world/camera/libs/hump/camera.lua