This commit is contained in:
EmsiaetKadosh
2025-01-21 15:41:32 +08:00
parent b86053c3a7
commit edcc095979
17 changed files with 471 additions and 88 deletions
+3 -2
View File
@@ -7,13 +7,14 @@
#include "Hud.h"
#include "Window.h"
class Game {
class Game : public IRenderable {
Hud hud = Hud();
Window* window = nullptr;
public:
explicit Game() = default;
void render() const noexcept {
static void initialize() noexcept;
void render() const noexcept override {
if (window) window->render();
hud.render();
}