diff options
Diffstat (limited to 'include/world.h')
-rw-r--r-- | include/world.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/world.h b/include/world.h index 21d6de8..3b76f19 100644 --- a/include/world.h +++ b/include/world.h @@ -11,9 +11,11 @@ private: } __attribute__ ((packed)) *line; unsigned int lineCount; int x_start; + World *behind,*infront; public: World(unsigned int width); ~World(void); + void addLayer(unsigned int width); void draw(vec2 *vec); void detect(vec2 *v,vec2 *vel,const float width); }; |