ouverture de fenetre possible

faire le Game::run
This commit is contained in:
YANNIS
2025-05-29 18:25:10 +02:00
parent bd9bc5e2e2
commit 62a0b9719f
10 changed files with 91 additions and 68 deletions
+15
View File
@@ -0,0 +1,15 @@
#pragma once
#include <SDL2/SDL.h>
#include <iostream>
class Game {
private:
SDL_Window* window = nullptr;
SDL_Renderer* renderer = nullptr;
bool isRunning = false;
public:
Game();
void Run();
~Game();
};