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 /object_base.h | |
parent | c8a110cdeca8c23b88d6908f0b06231847c9e722 (diff) |
Working sprites and instance_create
Diffstat (limited to 'object_base.h')
-rw-r--r-- | object_base.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/object_base.h b/object_base.h index 2651be0..9dee7b2 100644 --- a/object_base.h +++ b/object_base.h @@ -1,12 +1,15 @@ #pragma once +#include "sprite.h" + class Object{ public: double x=0,y=0; + Sprite *sprite_index=nullptr; Object(void); - Object(double _x,double _y); + Object(double x,double y); virtual ~Object(void); virtual void create(void); |