Commit de vesprà tirada a la brossa

This commit is contained in:
2024-10-16 22:35:19 +02:00
parent 5585f996cb
commit db884cb422
32 changed files with 450 additions and 463 deletions

View File

@@ -1,10 +1,10 @@
#pragma once
#include <memory> // for shared_ptr
#include "animated_sprite.h" // for AnimatedSprite
#include <memory> // for shared_ptr
#include "animated_sprite.h" // for SpriteAnimated
class Texture;
// Clase SmartSprite
// Clase SpriteSmart
class SmartSprite : public AnimatedSprite
{
private:
@@ -16,12 +16,12 @@ private:
bool finished_; // Indica si ya ha terminado
bool enabled_; // Indica si el objeto está habilitado
// Comprueba el movimiento
void checkMove();
// Comprueba si ha terminado
void checkFinished();
// Comprueba el movimiento
void checkMove();
public:
// Constructor
explicit SmartSprite(std::shared_ptr<Texture> texture);