From 8023d607f128ef4b4e63b833fc2045f7b41a1e3f Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sat, 31 Dec 2016 09:23:28 +0100 Subject: SFML sprites! --- sprite.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sprite.h') diff --git a/sprite.h b/sprite.h index b52026a..b5d9e7d 100644 --- a/sprite.h +++ b/sprite.h @@ -1,13 +1,14 @@ #pragma once -//#include +#include 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); }; -- cgit v1.2.3-70-g09d2