afegit sistema de punts
This commit is contained in:
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user