afegit nivell de brillo per shape

This commit is contained in:
2025-12-02 22:11:17 +01:00
parent 98c90e6075
commit d6b2e97777
7 changed files with 20 additions and 13 deletions

View File

@@ -38,9 +38,10 @@ class Nau {
// [NUEVO] Estat de la instància (separat de la geometria)
Punt centre_;
float angle_; // Angle d'orientació
float velocitat_; // Velocitat (px/s)
float angle_; // Angle d'orientació
float velocitat_; // Velocitat (px/s)
bool esta_tocada_;
float brightness_; // Factor de brillantor (0.0-1.0)
void aplicar_fisica(float delta_time);
};