diff options
Diffstat (limited to 'sprite.h')
-rw-r--r-- | sprite.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -4,11 +4,13 @@ class Sprite{ -public: - const unsigned char *image; - unsigned int image_len; sf::Texture sf_texture; + +public: sf::Sprite sf_sprite; Sprite(const unsigned char *image,unsigned int image_len); + + int width() const; + int height() const; }; |