From 786dc78a13e80df94ea3978df1a0388a1685096a Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Mon, 3 Aug 2020 09:11:31 +0200 Subject: [PATCH] chore: make simplehpbar and statusbar part of common stuff --- .../{scenes/battlesystem => game/modules}/gui/simplehpbar.lua | 0 .../{scenes/battlesystem => game/modules}/gui/statusbar.lua | 0 .../scenes/battlesystem/controllers/fighters/character.lua | 2 +- .../scenes/battlesystem/controllers/fighters/villain.lua | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename sonic-radiance.love/{scenes/battlesystem => game/modules}/gui/simplehpbar.lua (100%) rename sonic-radiance.love/{scenes/battlesystem => game/modules}/gui/statusbar.lua (100%) diff --git a/sonic-radiance.love/scenes/battlesystem/gui/simplehpbar.lua b/sonic-radiance.love/game/modules/gui/simplehpbar.lua similarity index 100% rename from sonic-radiance.love/scenes/battlesystem/gui/simplehpbar.lua rename to sonic-radiance.love/game/modules/gui/simplehpbar.lua diff --git a/sonic-radiance.love/scenes/battlesystem/gui/statusbar.lua b/sonic-radiance.love/game/modules/gui/statusbar.lua similarity index 100% rename from sonic-radiance.love/scenes/battlesystem/gui/statusbar.lua rename to sonic-radiance.love/game/modules/gui/statusbar.lua diff --git a/sonic-radiance.love/scenes/battlesystem/controllers/fighters/character.lua b/sonic-radiance.love/scenes/battlesystem/controllers/fighters/character.lua index 8e3a61a..365d894 100644 --- a/sonic-radiance.love/scenes/battlesystem/controllers/fighters/character.lua +++ b/sonic-radiance.love/scenes/battlesystem/controllers/fighters/character.lua @@ -1,7 +1,7 @@ local FighterParent = require "scenes.battlesystem.controllers.fighters.parent" local HeroFighter = FighterParent:extend() -local StatusBar = require "scenes.battlesystem.gui.statusbar" +local StatusBar = require "game.modules.gui.statusbar" local SelectionSystem = require "scenes.battlesystem.controllers.fighters.systems.selection" local actionList = require "scenes.battlesystem.controllers.fighters.systems.actions" diff --git a/sonic-radiance.love/scenes/battlesystem/controllers/fighters/villain.lua b/sonic-radiance.love/scenes/battlesystem/controllers/fighters/villain.lua index 0084169..3f6df2c 100644 --- a/sonic-radiance.love/scenes/battlesystem/controllers/fighters/villain.lua +++ b/sonic-radiance.love/scenes/battlesystem/controllers/fighters/villain.lua @@ -1,7 +1,7 @@ local FighterParent = require "scenes.battlesystem.controllers.fighters.parent" local VillainFighter = FighterParent:extend() -local SimpleHPBar = require "scenes.battlesystem.gui.simplehpbar" +local SimpleHPBar = require "game.modules.gui.simplehpbar" local POSITIONS = {1, 3, 5} local ENNEMY_LINE = 11;