aboutsummaryrefslogtreecommitdiffstats
path: root/include/world.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/world.h')
-rw-r--r--include/world.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/world.h b/include/world.h
index 1f8b7e1..4acb9ee 100644
--- a/include/world.h
+++ b/include/world.h
@@ -28,13 +28,13 @@ protected:
float y,gh[2];
unsigned char color;
} __attribute__ ((packed)) *line;
- unsigned int lineCount; // Size of the array 'line' (aka the width of the world)
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.
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.