Singletonejant

Borrat menu.cpp que no estava gastantse...mmm.. desde mai
This commit is contained in:
2025-02-22 18:27:23 +01:00
parent e361d295c1
commit fc01676df2
38 changed files with 440 additions and 1751 deletions

View File

@@ -435,25 +435,10 @@ void Screen::renderFX()
renderSpectrumFade();
}
// Actualiza el notificador
void Screen::updateNotifier()
{
Notifier::get()->update();
}
// Muestra una notificación de texto por pantalla;
void Screen::showNotification(std::string text1, std::string text2, int icon)
{
Notifier::get()->showText(text1, text2, icon);
}
// Dibuja las notificaciones
void Screen::renderNotifications()
{
if (Notifier::get()->active())
{
Notifier::get()->render();
}
Notifier::get()->render();
}
// Copia el gameCanvas en el borderCanvas
@@ -498,4 +483,10 @@ void Screen::toggleShaders()
{
options.shaders = !options.shaders;
setVideoMode(options.videoMode);
}
// Actualiza la lógica de la clase
void Screen::update()
{
Notifier::get()->update();
}