revisat moving i animated sprite

This commit is contained in:
2025-09-23 08:29:29 +02:00
parent 8f83a1d13e
commit 1a6ef79466
5 changed files with 19 additions and 21 deletions

View File

@@ -15,7 +15,6 @@ class MovingSprite : public Sprite {
// --- Estructuras ---
struct Rotate {
bool enabled{false}; // Indica si ha de rotar
int counter{0}; // Contador
int speed{1}; // Velocidad de giro
double angle{0.0}; // Ángulo para dibujarlo
float amount{0.0F}; // Cantidad de grados a girar en cada iteración