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 101fc7a..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;
@@ -41,7 +42,7 @@ class Structures : public Entity{
public:
void *inside;
Structures();
- unsigned int spawn(int, float, float);
+ unsigned int spawn(_TYPE, float, float);
};
#endif // ENTITIES_H