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.cpp | |
parent | c8a110cdeca8c23b88d6908f0b06231847c9e722 (diff) |
Working sprites and instance_create
Diffstat (limited to 'sprite.cpp')
-rw-r--r-- | sprite.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sprite.cpp b/sprite.cpp new file mode 100644 index 0000000..d751230 --- /dev/null +++ b/sprite.cpp @@ -0,0 +1,5 @@ +#include "sprite.h" + + +Sprite::Sprite(const unsigned char *image,unsigned int image_len) + :image(image),image_len(image_len),fl_image(nullptr){} |