aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-09-28 08:14:20 -0400
committerClyne Sullivan <tullivan99@gmail.com>2015-09-28 08:14:20 -0400
commit60f685b7b544b94ae1e6212b939cdae5ac12e725 (patch)
tree1fd3d11972cd2887a7927611a0da763821645767 /include
parent4391f9289b7368765b39c9654d6b0bdf2db8f36b (diff)
added dropping from platforms
Diffstat (limited to 'include')
-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);
};