From b5483c66aebec91d5354b859f365b8b60b1d4819 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Fri, 26 Nov 2010 16:15:18 +0000 Subject: Implement map reading and add tiles sprite sheet --- Level.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Level.h') 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 -- cgit v1.2.3