Optimized the structure

This commit is contained in:
2025-11-23 15:13:28 +08:00
parent 5100aa799f
commit ff2ddc6fd4
7 changed files with 28 additions and 29 deletions

View File

@@ -3,22 +3,21 @@
#include <SDL3/SDL.h>
#include <memory>
//#include "Board.h"
#include "ui/Render.h"
class Game {
private:
std::unique_ptr<Renderer> m_render;
int Width;
int Height;
public:
Game(int g_width, int g_heith);
Game();
~Game();
void cleanup();
bool initialize();
void render();
};