afegit sistema de punts

This commit is contained in:
2025-12-09 16:56:07 +01:00
parent 76165e4345
commit 94a7a38cdd
8 changed files with 251 additions and 5 deletions

View File

@@ -12,6 +12,7 @@
#include "../constants.hpp"
#include "../effects/debris_manager.hpp"
#include "../effects/gestor_puntuacio_flotant.hpp"
#include "../entities/bala.hpp"
#include "../entities/enemic.hpp"
#include "../entities/nau.hpp"
@@ -41,6 +42,7 @@ class EscenaJoc {
// Efectes visuals
Effects::DebrisManager debris_manager_;
Effects::GestorPuntuacioFlotant gestor_puntuacio_;
// Estat del joc
Nau nau_;
@@ -54,6 +56,7 @@ class EscenaJoc {
bool game_over_; // Game over state flag
float game_over_timer_; // Countdown timer for auto-return (seconds)
Punt punt_spawn_; // Configurable spawn point
int puntuacio_total_; // Current score
// Text vectorial
Graphics::VectorText text_;