aboutsummaryrefslogtreecommitdiffstats
path: root/include/entities.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/entities.h')
-rw-r--r--include/entities.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/entities.h b/include/entities.h
index 6e0e2c3..78d9a51 100644
--- a/include/entities.h
+++ b/include/entities.h
@@ -14,7 +14,7 @@ public:
vec2 vel;
bool right,left, canMove;
bool alive;
- bool ground;
+ unsigned char ground;
unsigned int texture[];
@@ -39,6 +39,7 @@ public:
};
class Structures : public Entity{
public:
+ World *inside;
Structures();
unsigned int spawn(int, float, float);
};