summaryrefslogtreecommitdiff
path: root/Level.h
diff options
context:
space:
mode:
Diffstat (limited to 'Level.h')
-rw-r--r--Level.h5
1 files changed, 5 insertions, 0 deletions
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);