summaryrefslogtreecommitdiff
path: root/inc/window.hpp
blob: 8ce53dba094ac10cd076c36d743fbc65daa2f0c4 (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
#ifndef window_h
#define window_h

#include <SDL2/SDL.h>
#include <algorithm>
#include <string>
#include "constants.hpp"

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

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

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

#endif