summaryrefslogtreecommitdiff
path: root/Level.h
diff options
context:
space:
mode:
authorLuke Bratch <l_bratch@yahoo.co.uk>2010-11-26 16:15:18 +0000
committerLuke Bratch <l_bratch@yahoo.co.uk>2010-11-26 16:15:18 +0000
commitb5483c66aebec91d5354b859f365b8b60b1d4819 (patch)
treecf74a91fc7dcb97444a4a55bad56d2cad3eacfa2 /Level.h
parentde9f40dfbba90e7ccb0ee5883a150f4e129a5674 (diff)
Implement map reading and add tiles sprite sheet
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