Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include "gameMain.h"
- #include <SDL.h>
- #include <SDL_image.h>
- #include <string>
- class gameSprite
- {
- public:
- gameSprite();
- ~gameSprite();
- SDL_Texture* loadSprite(std::string filePath);
- void draw();
- private:
- SDL_Texture* Texture;
- SDL_Surface* tempSurface;
- gameMain* gameGraphics;
- };
Add Comment
Please, Sign In to add comment