diff options
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; }; |