Cambiado el tamaño de las notificaciones. Posibilidad de añadir un icono

This commit is contained in:
2022-12-29 11:36:44 +01:00
parent 510a6ca718
commit b2061c86d2
5 changed files with 66 additions and 41 deletions

View File

@@ -161,7 +161,19 @@ void Game::checkEventHandler()
break;
case SDL_SCANCODE_F6:
screen->showNotification("1234567890");
screen->showNotification("ACHIEVEMENT UNLOCKED!", "FINISH THE GAME", 2);
break;
case SDL_SCANCODE_F7:
screen->showNotification("NO ICON");
break;
case SDL_SCANCODE_F8:
screen->showNotification("NO ICON", "NO TEXT");
break;
case SDL_SCANCODE_F9:
screen->showNotification("JAILDESIGNER", "LOGGED IN", 1);
break;
#endif