summaryrefslogtreecommitdiff
path: root/sprite.cpp
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2016-12-30 09:38:02 +0100
committertomsmeding <tom.smeding@gmail.com>2016-12-30 09:38:02 +0100
commitf62f270de05ebe5a71ef2e66a1a0f54b4ed9dc61 (patch)
tree19957fe8bc0e0bccbce6c73fef6b6092ed705807 /sprite.cpp
parentc8a110cdeca8c23b88d6908f0b06231847c9e722 (diff)
Working sprites and instance_create
Diffstat (limited to 'sprite.cpp')
-rw-r--r--sprite.cpp5
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){}