aboutsummaryrefslogtreecommitdiffstats
path: root/include/world.h
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-10-08 09:10:08 -0400
committerClyne Sullivan <tullivan99@gmail.com>2015-10-08 09:10:08 -0400
commit3120be4f673c3e106c47ee250ca02179bacec52f (patch)
treee3f8fdcf70e40fdf3320b3f3bad5d392e4149160 /include/world.h
parent281da1f81b1eef9e05e881e12d986b6b45ce8696 (diff)
improved inventory, debug flags
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.