treballant en INIT_HUD

This commit is contained in:
2025-12-09 22:09:24 +01:00
parent 64ab08973c
commit 57d623d6bc
8 changed files with 271 additions and 12 deletions

View File

@@ -26,6 +26,7 @@ class Nau {
const Punt& get_centre() const { return centre_; }
float get_angle() const { return angle_; }
bool esta_viva() const { return !esta_tocada_; }
bool esta_tocada() const { return esta_tocada_; }
const std::shared_ptr<Graphics::Shape>& get_forma() const { return forma_; }
float get_brightness() const { return brightness_; }
Punt get_velocitat_vector() const {
@@ -35,6 +36,9 @@ class Nau {
};
}
// Setters
void set_centre(const Punt& nou_centre) { centre_ = nou_centre; }
// Col·lisions (Fase 10)
void marcar_tocada() { esta_tocada_ = true; }