summaryrefslogtreecommitdiff
path: root/src/window.h
blob: fb1cf674823d8b90a0c03decf8a39b9925c243d6 (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
#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