diff options
Diffstat (limited to 'Sprite.h')
-rw-r--r-- | Sprite.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4,6 +4,7 @@ #include <string> #include "SDL/SDL.h" #include "SDL/SDL_image.h" +#include "intensemarcus.h" class Sprite { public: @@ -20,9 +21,9 @@ class Sprite { bool visible(); // Load in this sprite's image - bool loadImage(std::string path); + bool setImage(std::string path); // This sprite's image - SDL_Surface image; + SDL_Surface *image; protected: // Coordinates |