From 60f685b7b544b94ae1e6212b939cdae5ac12e725 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Mon, 28 Sep 2015 08:14:20 -0400 Subject: added dropping from platforms --- include/entities.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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); }; -- cgit v1.2.3