From f62f270de05ebe5a71ef2e66a1a0f54b4ed9dc61 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Fri, 30 Dec 2016 09:38:02 +0100 Subject: Working sprites and instance_create --- object_base.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'object_base.h') 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); -- cgit v1.2.3-70-g09d2