aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/game.cpp
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-10-22 12:15:03 +0200
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-10-22 12:15:03 +0200
commit9037aca03bfa4312794a6954752628381256f777 (patch)
treeb5402ae6552ca84bb4cdf9a2f1507dc460a399ac /src/crepe/api/game.cpp
parent176ac90fce318334f1377d94d6e637e1eff84c3c (diff)
merged further and changed to standard
Diffstat (limited to 'src/crepe/api/game.cpp')
-rw-r--r--src/crepe/api/game.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/crepe/api/game.cpp b/src/crepe/api/game.cpp
deleted file mode 100644
index 01920a9..0000000
--- a/src/crepe/api/game.cpp
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-#include "game.h"
-#include "core/renderSystem.h"
-#include "facade/SdlContext.h"
-
-
-Engine::Engine(int windowHeight, int window_with){
- crepe::SdlContext& ctx = crepe::SdlContext::get_instance();
-}
-
-
-
-void Engine::loop() {
-
- bool running = true;
- crepe::SdlContext& ctx = crepe::SdlContext::get_instance();
- RenderSystem rendering;
-
- while (running) {
- ctx.handleEvents(running);
-
- ctx.clearScreen();
-
- rendering.render();
-
- ctx.presentScreen();
- }
-}