mirror of
https://github.com/zhenyan121/SporeBG-Conid.git
synced 2026-04-10 06:14:08 +08:00
A startup for it
This commit is contained in:
24
src/core/Game.h
Normal file
24
src/core/Game.h
Normal 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();
|
||||
};
|
||||
Reference in New Issue
Block a user