Codi preparat per als dibuixets nous per a la intro

This commit is contained in:
2025-03-09 18:30:14 +01:00
parent 72cb39da78
commit e0c10f83d6
13 changed files with 82 additions and 91 deletions

View File

@@ -24,7 +24,8 @@ private:
public:
// Constructor
explicit SmartSprite(std::shared_ptr<Texture> texture);
explicit SmartSprite(std::shared_ptr<Texture> texture)
: AnimatedSprite(texture) {}
// Destructor
~SmartSprite() = default;
@@ -40,7 +41,7 @@ public:
int getDestY() const { return dest_y_; }
bool isOnDestination() const { return on_destination_; }
bool hasFinished() const { return finished_; }
// Setters
void setFinishedCounter(int value) { finished_counter_ = value; }
void setDestX(int x) { dest_x_ = x; }