passant linters a vore si trobe variables sense inicialitzar

This commit is contained in:
2025-08-17 00:23:59 +02:00
parent ada5025c65
commit 327987447d
55 changed files with 516 additions and 474 deletions

View File

@@ -7,7 +7,8 @@
#include <memory> // Para allocator, shared_ptr
#include <string> // Para string, hash
#include <unordered_map> // Para unordered_map
#include <vector> // Para vector
#include <utility>
#include <vector> // Para vector
#include "moving_sprite.h" // Para MovingSprite
@@ -49,7 +50,7 @@ class AnimatedSprite : public MovingSprite {
// --- Constructores y destructor ---
AnimatedSprite(std::shared_ptr<Texture> texture, const std::string& file_path);
AnimatedSprite(std::shared_ptr<Texture> texture, const AnimationsFileBuffer& animations);
explicit AnimatedSprite(std::shared_ptr<Texture> texture) : MovingSprite(texture) {}
explicit AnimatedSprite(std::shared_ptr<Texture> texture) : MovingSprite(std::move(texture)) {}
~AnimatedSprite() override = default;
// --- Métodos principales ---