From c0d484d71cdc8b0c22981d1c763d025fedbe1bb4 Mon Sep 17 00:00:00 2001
From: Clyne Sullivan <tullivan99@gmail.com>
Date: Wed, 28 Oct 2015 07:33:05 -0400
Subject: locked backgroun to layer

---
 include/world.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'include')

diff --git a/include/world.h b/include/world.h
index 29c7822..18e1878 100644
--- a/include/world.h
+++ b/include/world.h
@@ -32,12 +32,13 @@ protected:
 	std::vector<Platform> platform;	// An array (vector thing) of platforms
 	int x_start;			// Worlds are centered on the x axis (0,n), this contains
 							// where to start drawing the world to have it centered properly.
-	World *behind,*infront;	// Pointers to other areas of land that are behind or in front of this one, respectively.
+	World *behind;			// Pointers to other areas of land that are behind or in front of this one, respectively.
 	void singleDetect(Entity *e);	// Handles an individual entity (gravity n' stuff)
 public:
 	unsigned int lineCount;		// Size of the array 'line' (aka the width of the world)
 	World *toLeft,*toRight;		// Pointers to areas to the left and right of this world. These are made public
 								// so that they can easily be set without a function.
+	World *infront;
 								
 	World(void);
 	~World(void);				// Frees the 'line' array.
@@ -71,6 +72,8 @@ public:
 	void addHole(unsigned int start,unsigned int end);	// Create a hole in the world
 };
 
+float worldGetYBase(World *w);
+
 /*
  *	IndoorWorld - Indoor settings stored in a World class ;)
  */
-- 
cgit v1.2.3