diff options
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); |