summaryrefslogtreecommitdiff
path: root/Sprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'Sprite.h')
-rw-r--r--Sprite.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Sprite.h b/Sprite.h
index d745376..72a5270 100644
--- a/Sprite.h
+++ b/Sprite.h
@@ -22,6 +22,7 @@ class Sprite {
// Load in this sprite's image
bool setImage(std::string path);
+ // TODO: Add method that can set reference to an already loaded image
// This sprite's image
SDL_Surface *image;
@@ -37,7 +38,7 @@ class Sprite {
bool isVisible;
// Sprite clip
- SDL_Rect clip[4];
+ SDL_Rect clip[5];
// Clip number
int clipNo;
};