diff options
Diffstat (limited to 'sprite.h')
-rw-r--r-- | sprite.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,13 +1,14 @@ #pragma once -//#include <FL/Fl_PNG_Image.H> +#include <SFML/Graphics.hpp> class Sprite{ public: const unsigned char *image; unsigned int image_len; - //Fl_PNG_Image *fl_image; + sf::Texture sf_texture; + sf::Sprite sf_sprite; Sprite(const unsigned char *image,unsigned int image_len); }; |