sonic-radiance/sonic-radiance.love/game/scenes/init.lua

26 lines
633 B
Lua
Raw Normal View History

local BirbScene = require "birb.modules.scenes"
local RadianceScene = BirbScene:extend()
2021-08-26 23:27:21 +02:00
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")
2021-08-26 23:27:21 +02:00
Overlay(haveBorder, showVersion)
end
function RadianceScene:hideOverlay()
self.gui:hideScreen("overlay")
end
2021-08-26 23:27:21 +02:00
function RadianceScene:showOverlay()
self.gui:showScreen("overlay")
end
return RadianceScene