From b3e625cf2e6fea860fc669f3a2a46cf96a01da0f Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Mon, 21 Sep 2015 21:52:28 -0400 Subject: added/fixed world linking --- include/world.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/world.h') diff --git a/include/world.h b/include/world.h index 3b76f19..c89ced7 100644 --- a/include/world.h +++ b/include/world.h @@ -13,11 +13,18 @@ private: int x_start; World *behind,*infront; public: + World *toLeft,*toRight; World(unsigned int width); ~World(void); + void addLayer(unsigned int width); void draw(vec2 *vec); void detect(vec2 *v,vec2 *vel,const float width); + + World *goWorldLeft(vec2 *loc,const float width); + World *goWorldRight(vec2 *loc,const float width); + World *goWorldBack(vec2 *loc,const float width); + World *goWorldFront(vec2 *loc,const float width); }; #endif // WORLD_H -- cgit v1.2.3