1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#ifndef LEVEL_H_ #define LEVEL_H_ #include "LevelObject.h" #include "SharedPtr.h" #include "PlayerStart.h" #include <vector> class Level : public std::vector<SharedPtr<LevelObject> > { public: Level() { push_back(SharedPtr<LevelObject>(new PlayerStart())); } }; #endif /*LEVEL_H_*/