diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/entities.h | 1 | ||||
-rw-r--r-- | include/world.h | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/entities.h b/include/entities.h index 2687c24..6e0e2c3 100644 --- a/include/entities.h +++ b/include/entities.h @@ -14,6 +14,7 @@ public: vec2 vel; bool right,left, canMove; bool alive; + bool ground; unsigned int texture[]; diff --git a/include/world.h b/include/world.h index 444b2c4..e826ba2 100644 --- a/include/world.h +++ b/include/world.h @@ -68,8 +68,8 @@ public: IndoorWorld(void); ~IndoorWorld(void); - void generate(unsigned int width); - void draw(vec2 *vec); + void generate(unsigned int width); // Generates a flat world of width 'width' + void draw(vec2 *vec); // Draws the world (ignores layers) }; #endif // WORLD_H |