diff options
Diffstat (limited to 'include/entities.h')
-rw-r--r-- | include/entities.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/entities.h b/include/entities.h index 78d9a51..df81ad2 100644 --- a/include/entities.h +++ b/include/entities.h @@ -9,7 +9,8 @@ public: float width; float height; float speed; - int type, subtype; + int subtype; + _TYPE type; vec2 loc; vec2 vel; bool right,left, canMove; @@ -39,9 +40,9 @@ public: }; class Structures : public Entity{ public: - World *inside; + void *inside; Structures(); - unsigned int spawn(int, float, float); + unsigned int spawn(_TYPE, float, float); }; #endif // ENTITIES_H |