diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-09-25 16:15:35 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-09-25 16:15:35 -0400 |
commit | 419d06f319c631c9c4860aababbfc49ee26aeefc (patch) | |
tree | eb05ae42da01622bcd8e36ca4ef7aec197a0ef58 /include/entities.h | |
parent | 144d3d5f39cb2cc9088fade10c6aefb9f79c9665 (diff) |
updates ;)
Diffstat (limited to 'include/entities.h')
-rw-r--r-- | include/entities.h | 5 |
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 |