From f62f270de05ebe5a71ef2e66a1a0f54b4ed9dc61 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Fri, 30 Dec 2016 09:38:02 +0100 Subject: Working sprites and instance_create --- sprite.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'sprite.h') diff --git a/sprite.h b/sprite.h index e901c9a..db3e276 100644 --- a/sprite.h +++ b/sprite.h @@ -1,6 +1,13 @@ #pragma once -struct Sprite{ +#include + + +class Sprite{ +public: const unsigned char *image; unsigned int image_len; + Fl_PNG_Image *fl_image; + + Sprite(const unsigned char *image,unsigned int image_len); }; -- cgit v1.2.3-70-g09d2