Added basic Window structure

This commit is contained in:
Robert 2020-11-05 14:58:07 +01:00
parent 2f42093946
commit 65e5993ee4
4 changed files with 70 additions and 30 deletions

17
include/RenderWindow.hpp Normal file
View file

@ -0,0 +1,17 @@
#pragma once
struct SDL_Window;
struct SDL_Renderer;
class RenderWindow
{
public:
RenderWindow(int width, int height);
~RenderWindow();
void Run();
private:
SDL_Window* window;
SDL_Renderer* renderer;
};