aboutsummaryrefslogtreecommitdiffstats
path: root/include/world.h
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2015-10-28 11:55:21 -0400
committerdrumsetmonkey <abelleisle@roadrunner.com>2015-10-28 11:55:21 -0400
commit193af27884fc910b4ffa7212ec772894c03e36ee (patch)
treece3a10772b3af81815261a11959da6e715eaa96f /include/world.h
parenta3e3f43a51e4a8137dff779f38b358b5b8608e4e (diff)
Locked camera to world bounds and added basic mountain backdrop
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;