el marcador fake ja es pinta correctament

This commit is contained in:
2025-12-01 23:47:42 +01:00
parent 5210448ac9
commit 67681e0f37
11 changed files with 128 additions and 120 deletions

View File

@@ -29,13 +29,14 @@ public:
private:
SDL_Renderer *renderer_;
// [NUEVO] Forma vectorial (compartida, només 1 instància de Nau però preparat per reutilització)
// [NUEVO] Forma vectorial (compartida, només 1 instància de Nau però preparat
// per reutilització)
std::shared_ptr<Graphics::Shape> forma_;
// [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_;
void aplicar_fisica(float delta_time);