summaryrefslogtreecommitdiff
path: root/inc/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/window.h')
-rw-r--r--inc/window.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/inc/window.h b/inc/window.h
new file mode 100644
index 0000000..fb1cf67
--- /dev/null
+++ b/inc/window.h
@@ -0,0 +1,24 @@
+#ifndef window_h
+#define window_h
+
+#include <SDL2/SDL.h>
+#include <SDL2/SDL_image.h>
+#include <string>
+#include <cmath>
+
+class Window
+{
+ public:
+ Window();
+ void Destroy();
+
+ void Clear();
+ void Render();
+ SDL_Renderer* getRenderer();
+
+ private:
+ SDL_Window* main;
+ SDL_Renderer* renderer;
+};
+
+#endif