summaryrefslogtreecommitdiff
path: root/Level.h
diff options
context:
space:
mode:
Diffstat (limited to 'Level.h')
-rw-r--r--Level.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Level.h b/Level.h
index c65eab9..774164e 100644
--- a/Level.h
+++ b/Level.h
@@ -3,6 +3,7 @@
#include "Player.h"
#include "Screen.h"
+#include "Platform.h"
class Level {
public:
@@ -23,6 +24,13 @@ class Level {
private:
// Background image
SDL_Surface *background;
+
+ // Map platforms
+ int numPlatforms;
+ Platform platform[576];
+
+ // Reads in the map file
+ void loadMap(int levelNo);
};
#endif