From 61e47d523653e7a151d8ab17d6dced5864b5d280 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Tue, 21 Dec 2010 18:39:05 +0000 Subject: Level: Implement hazards --- Level.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Level.h') diff --git a/Level.h b/Level.h index 0a38029..b212c67 100644 --- a/Level.h +++ b/Level.h @@ -4,6 +4,7 @@ #include "Player.h" #include "Screen.h" #include "Platform.h" +#include "Hazard.h" class Level { public: @@ -29,6 +30,10 @@ class Level { int numPlatforms; Platform platform[576]; + // Hazards + int numHazards; + Hazard hazard[576]; + // Reads in the map file void loadMap(int levelNo); -- cgit v1.2.3