first commit

This commit is contained in:
elwld 2022-07-08 21:34:08 +05:00
commit 6f2408393c
30 changed files with 7856 additions and 0 deletions

25
src/window/window.h Normal file
View file

@ -0,0 +1,25 @@
#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