Afegits destructors virtuals en les classes Sprite

This commit is contained in:
2024-10-13 21:23:15 +02:00
parent 7c876e1d4d
commit d0a6e4c572
19 changed files with 142 additions and 131 deletions

View File

@@ -1,12 +1,12 @@
#pragma once
#include <SDL2/SDL_stdinc.h> // for Uint8, Uint16, Uint32
#include <memory> // for shared_ptr, unique_ptr
#include <string> // for string
#include <vector> // for vector
#include <memory>
#include "utils.h" // for Circle
#include "animated_sprite.h"
#include "texture.h"
#include "animated_sprite.h" // for AnimatedSprite
#include "utils.h" // for Circle
class Texture;
// Cantidad de elementos del vector con los valores de la deformación del globo al rebotar
constexpr int MAX_BOUNCE = 10;