Guest User

Untitled

a guest
Apr 1st, 2016
182
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 <SDL.h>
  3. #include <SDL_image.h>
  4. #include <string>
  5. #include "gameMain.h"
  6.  
  7. class gameSprite
  8. {
  9. public:
  10.     gameSprite();
  11.     ~gameSprite();
  12.  
  13.     SDL_Texture* loadSprite(std::string filePath);
  14.     void draw();
  15.  
  16. private:
  17.     SDL_Texture* Texture;
  18.     SDL_Surface* tempSurface;
  19.     gameMain* gameGraphics;
  20. };
Advertisement
Add Comment
Please, Sign In to add comment