afegit nivell de brillo per shape
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user