blob: 2f65b04bdd9c40a3e4d75dafec223738aefde047 (
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
|
#ifndef window_h
#define window_h
#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>
class Window
{
public:
Window();
void Destroy();
void Clear();
void Render();
SDL_Renderer* getRenderer();
private:
SDL_Window* main;
SDL_Renderer* renderer;
};
#endif
|