Refonte pour utiliser le systeme de GUI #112

Merged
kazhnuz merged 102 commits from feat/gui into master 2022-01-06 19:15:16 +01:00
Showing only changes of commit 14a7364c43 - Show all commits

View file

@ -7,7 +7,7 @@ local MenuSystem = require "scenes.battlesystem.gui.menus.controller"
local Turns = require "scenes.battlesystem.turns" local Turns = require "scenes.battlesystem.turns"
local VictoryScreen = require "scenes.battlesystem.gui.screens.victory" local VictoryScreen = require "scenes.battlesystem.gui.screens.victory"
local GameOverScreen = require "scenes.battlesystem.gui.screens.gameover" local GameOverScreen = require "game.modules.gui.gameover"
local TweenManager = require "birb.classes.time" local TweenManager = require "birb.classes.time"
@ -62,7 +62,7 @@ function BattleSystem:returnToOverworld(isFleeing)
end end
function BattleSystem:looseBattle() function BattleSystem:looseBattle()
self.screen = GameOverScreen(self) GameOverScreen(self)
end end
function BattleSystem:haveMenus() function BattleSystem:haveMenus()