diff options
author | Luke Bratch <l_bratch@yahoo.co.uk> | 2010-11-26 16:15:18 +0000 |
---|---|---|
committer | Luke Bratch <l_bratch@yahoo.co.uk> | 2010-11-26 16:15:18 +0000 |
commit | b5483c66aebec91d5354b859f365b8b60b1d4819 (patch) | |
tree | cf74a91fc7dcb97444a4a55bad56d2cad3eacfa2 /Sprite.h | |
parent | de9f40dfbba90e7ccb0ee5883a150f4e129a5674 (diff) |
Implement map reading and add tiles sprite sheet
Diffstat (limited to 'Sprite.h')
-rw-r--r-- | Sprite.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; }; |