forked from jaildesigner-jailgames/jaildoctors_dilemma
Singletonejant
Borrat menu.cpp que no estava gastantse...mmm.. desde mai
This commit is contained in:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user