COMPLETER LA CLASSE ABSTRAITE

This commit is contained in:
YANNIS
2025-06-01 10:34:29 +02:00
parent 90c5485fc5
commit cfee2379ab
6 changed files with 29 additions and 4 deletions
+2
View File
@@ -2,6 +2,7 @@
#include <iostream>
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <exception>
class Sprite {
private:
@@ -11,6 +12,7 @@ private:
float posY = 0.0f;
public:
Sprite() = default;
Sprite(SDL_Renderer* renderer, std::string filePath);
virtual ~Sprite() = default;
// Pure virtual function to be implemented by derived classes