aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/game.h')
-rw-r--r--src/crepe/api/game.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/crepe/api/game.h b/src/crepe/api/game.h
index 7cde954..64027fa 100644
--- a/src/crepe/api/game.h
+++ b/src/crepe/api/game.h
@@ -1,15 +1,17 @@
#pragma once
-#include "api/spritesheet.h"
-#include "facade/Texture.h"
-#include <vector>
-class game {
+class Engine{
public:
- game(){}
- ~game(){}
+ Engine(int windowWith, int windowHeight);
+ ~Engine() = default;
- void render(std::vector<crepe::Texture*>&, std::vector<crepe::api::Spritesheet*>&);
+ void loop();
+
+
+private:
+ int window_height;
+ int window_width;
};