summaryrefslogtreecommitdiffstats
path: root/Level.h
blob: ede34db44114740f656f9e2db8fbdbdf58d9b7df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef LEVEL_H_
#define LEVEL_H_


#include "LevelObject.h"
#include "SharedPtr.h"
#include "PlayerStart.h"
#include "Portal.h"
#include <vector>

class Level : public std::vector<SharedPtr<LevelObject> > {
  public:
    Level() {
      push_back(SharedPtr<LevelObject>(new PlayerStart()));
      push_back(SharedPtr<LevelObject>(new Portal(2, 2, 0.4f)));
    }
};

#endif /*LEVEL_H_*/