diff options
author | tomsmeding <tom.smeding@gmail.com> | 2016-12-30 09:38:02 +0100 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2016-12-30 09:38:02 +0100 |
commit | f62f270de05ebe5a71ef2e66a1a0f54b4ed9dc61 (patch) | |
tree | 19957fe8bc0e0bccbce6c73fef6b6092ed705807 /sprite.h | |
parent | c8a110cdeca8c23b88d6908f0b06231847c9e722 (diff) |
Working sprites and instance_create
Diffstat (limited to 'sprite.h')
-rw-r--r-- | sprite.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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); }; |