summaryrefslogtreecommitdiff
path: root/sprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'sprite.h')
-rw-r--r--sprite.h9
1 files changed, 8 insertions, 1 deletions
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 <FL/Fl_PNG_Image.H>
+
+
+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);
};