diff options
author | neoraider <devnull@localhost> | 2007-12-14 03:47:03 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2007-12-14 03:47:03 +0100 |
commit | a8c1d6168797526b9d24bc8c86f2578f3be59fa8 (patch) | |
tree | 8515976a634b788d99b2c894757a0b4ecbb6fa6a /Level.h | |
parent | d82c597917d8ef5866c7a83d0c101f423a2ac05d (diff) | |
download | zoomedit-a8c1d6168797526b9d24bc8c86f2578f3be59fa8.tar zoomedit-a8c1d6168797526b9d24bc8c86f2578f3be59fa8.zip |
zoomedit: Verallgemeinerte Level-Objekte implementiert.
Diffstat (limited to 'Level.h')
-rw-r--r-- | Level.h | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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_*/ |