aboutsummaryrefslogtreecommitdiffstats
path: root/include/world.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/world.h')
-rw-r--r--include/world.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/world.h b/include/world.h
index 18e1878..03b0d96 100644
--- a/include/world.h
+++ b/include/world.h
@@ -36,6 +36,7 @@ protected:
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)
+ unsigned int worldWidth;
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;