Guest User

Untitled

a guest
Apr 1st, 2016
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  1. #pragma once
  2. #include "gameMain.h"
  3. #include <SDL.h>
  4. #include <SDL_image.h>
  5. #include <string>
  6.  
  7.  
  8. class gameSprite
  9. {
  10. public:
  11.     gameSprite();
  12.     ~gameSprite();
  13.  
  14.     SDL_Texture* loadSprite(std::string filePath);
  15.     void draw();
  16.  
  17. private:
  18.     SDL_Texture* Texture;
  19.     SDL_Surface* tempSurface;
  20.     gameMain* gameGraphics;
  21. };
Add Comment
Please, Sign In to add comment