spirit/src/window/window.h

25 lines
407 B
C++

#ifndef WINDOW
#define WINDOW
#include <SDL2/SDL.h>
#include <string>
#include <iostream>
using namespace std;
class Window
{
public:
Window(int width, int height, int sdlOption);
void clear();
void draw();
void update();
void quit();
private:
SDL_Window *window;
SDL_Surface *spritesheet;
SDL_Surface *surface;
};
#endif //WINDOW