improvement: port to common game over
This commit is contained in:
parent
30389a2655
commit
14a7364c43
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue