A startup for it

This commit is contained in:
2025-11-22 22:16:58 +08:00
parent 6703ebfcd2
commit 5100aa799f
15 changed files with 238 additions and 49 deletions

24
src/core/Game.h Normal file
View File

@@ -0,0 +1,24 @@
// src/core/Game.h
#pragma once
#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();
void cleanup();
bool initialize();
void render();
};