forked from jaildesigner-jailgames/jaildoctors_dilemma
Trabajando en las notificaciones
This commit is contained in:
@@ -70,7 +70,7 @@ void Screen::blit()
|
||||
SDL_RenderCopy(renderer, gameCanvas, nullptr, &dest);
|
||||
|
||||
// Dibuja las notificaciones
|
||||
// renderNotifications();
|
||||
renderNotifications();
|
||||
|
||||
// Muestra por pantalla el renderizador
|
||||
SDL_RenderPresent(renderer);
|
||||
@@ -360,10 +360,10 @@ void Screen::showText(std::string text)
|
||||
// Dibuja las notificaciones
|
||||
void Screen::renderNotifications()
|
||||
{
|
||||
if (!notifyActive)
|
||||
{
|
||||
return;
|
||||
}
|
||||
// if (!notifyActive)
|
||||
// {
|
||||
// return;
|
||||
// }
|
||||
|
||||
SDL_RenderSetLogicalSize(renderer, screenWidth, screenHeight);
|
||||
notify->render();
|
||||
|
||||
Reference in New Issue
Block a user