diff options
author | Luke Bratch <l_bratch@yahoo.co.uk> | 2010-11-26 16:15:18 +0000 |
---|---|---|
committer | Luke Bratch <l_bratch@yahoo.co.uk> | 2010-11-26 16:15:18 +0000 |
commit | b5483c66aebec91d5354b859f365b8b60b1d4819 (patch) | |
tree | cf74a91fc7dcb97444a4a55bad56d2cad3eacfa2 /Level.h | |
parent | de9f40dfbba90e7ccb0ee5883a150f4e129a5674 (diff) |
Implement map reading and add tiles sprite sheet
Diffstat (limited to 'Level.h')
-rw-r--r-- | Level.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |