mirror of
https://github.com/zhenyan121/SporeBG-Conid.git
synced 2026-04-10 14:24:10 +08:00
Optimized the structure
This commit is contained in:
@@ -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();
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user