26 lines
No EOL
633 B
Lua
26 lines
No EOL
633 B
Lua
local BirbScene = require "birb.modules.scenes"
|
|
local RadianceScene = BirbScene:extend()
|
|
|
|
local Overlay = require "game.modules.gui.overlay"
|
|
|
|
function RadianceScene:new(haveBorder, showVersion)
|
|
RadianceScene.super.new(self)
|
|
|
|
-- Importation Global des assets
|
|
self.assets:batchImport("assets.commons")
|
|
self.assets.fonts["small"]:setLineHeight(16/18)
|
|
self.assets.fonts["small"]:setFilter("shadow")
|
|
|
|
Overlay(haveBorder, showVersion)
|
|
end
|
|
|
|
function RadianceScene:hideOverlay()
|
|
self.gui:hideScreen("overlay")
|
|
end
|
|
|
|
function RadianceScene:showOverlay()
|
|
self.gui:showScreen("overlay")
|
|
end
|
|
|
|
|
|
return RadianceScene |