summaryrefslogtreecommitdiff
path: root/inc/window.hpp
blob: 1a1a5a7e79cc9a51473d7bf5214b7c46d5f5f86b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef window_h
#define window_h

#include <SDL2/SDL.h>
#include <algorithm>

#include "constants.hpp"

using namespace std;

class Window
{
	public:
		Window();
		Window(string){};
		void Destroy();

		void Clear();
		void Render();
		SDL_Renderer* getRenderer();

	private:
		SDL_Window* main;
		SDL_Renderer* renderer;
};

#endif