En la pantalla de Game Over se muestran las habitaciones y los items conseguidos

This commit is contained in:
2022-11-17 16:33:37 +01:00
parent 0adf8c63f4
commit 7af0dda1a0
6 changed files with 36 additions and 5 deletions

View File

@@ -340,6 +340,7 @@ bool Game::changeRoom(std::string file)
{
// Incrementa el contador de habitaciones visitadas
board.rooms++;
options->rooms = board.rooms;
// Actualiza las estadisticas
stats->addVisit(room->getName());