blob: 97e6c0918772dc2cbc63d115ad19f4ff8874f42f (
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
28
29
30
31
32
33
34
35
36
|
#ifndef window_h
#define window_h
//Theres alot here that are probs not used, needs cleaning
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <string>
#include <cmath>
#include <stdlib.h>
#include <time.h>
#include <iostream>
#include <vector>
#include <chrono>
#include <random>
#include <list>
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
|