summaryrefslogtreecommitdiffstats
path: root/Level.h
diff options
context:
space:
mode:
Diffstat (limited to 'Level.h')
-rw-r--r--Level.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/Level.h b/Level.h
index 2c135ef..74e835d 100644
--- a/Level.h
+++ b/Level.h
@@ -2,10 +2,16 @@
#define LEVEL_H_
-#include "Room.h"
+#include "LevelObject.h"
+#include "SharedPtr.h"
+#include "PlayerStart.h"
#include <vector>
-class Level : public std::vector<Room> {
+class Level : public std::vector<SharedPtr<LevelObject> > {
+ public:
+ Level() {
+ push_back(SharedPtr<LevelObject>(new PlayerStart()));
+ }
};
#endif /*LEVEL_H_*/