summaryrefslogtreecommitdiff
path: root/Level.h
diff options
context:
space:
mode:
authorLuke Bratch <l_bratch@yahoo.co.uk>2010-12-21 18:39:05 +0000
committerLuke Bratch <l_bratch@yahoo.co.uk>2010-12-21 18:39:05 +0000
commit61e47d523653e7a151d8ab17d6dced5864b5d280 (patch)
tree30795a61bef6b071803a9fb588e250caa2540011 /Level.h
parentff143def2a28289807a7a5d8c149df0c99de9615 (diff)
Level: Implement hazards
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);