summaryrefslogtreecommitdiff
path: root/Sprite.h
diff options
context:
space:
mode:
authorLuke Bratch <l_bratch@yahoo.co.uk>2010-11-26 16:15:18 +0000
committerLuke Bratch <l_bratch@yahoo.co.uk>2010-11-26 16:15:18 +0000
commitb5483c66aebec91d5354b859f365b8b60b1d4819 (patch)
treecf74a91fc7dcb97444a4a55bad56d2cad3eacfa2 /Sprite.h
parentde9f40dfbba90e7ccb0ee5883a150f4e129a5674 (diff)
Implement map reading and add tiles sprite sheet
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;
};