aboutsummaryrefslogtreecommitdiffstats
path: root/include/entities.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/entities.h')
-rw-r--r--include/entities.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/entities.h b/include/entities.h
index e7389dc..2687c24 100644
--- a/include/entities.h
+++ b/include/entities.h
@@ -5,6 +5,7 @@
class Entity{
public:
+ void *inWorld;
float width;
float height;
float speed;
@@ -15,7 +16,7 @@ public:
bool alive;
unsigned int texture[];
-
+
void spawn(float, float);
void draw(void);
void wander(int, vec2*);
@@ -38,7 +39,7 @@ public:
class Structures : public Entity{
public:
Structures();
- void spawn(int, float, float);
+ unsigned int spawn(int, float, float);
};
#endif // ENTITIES_H