summaryrefslogtreecommitdiff
path: root/Sprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'Sprite.h')
-rw-r--r--Sprite.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Sprite.h b/Sprite.h
index 59a4399..74f9bea 100644
--- a/Sprite.h
+++ b/Sprite.h
@@ -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