win32 mingw fixes
[laserbrain_demo] / src / exman.h
1 #ifndef EXMAN_H_
2 #define EXMAN_H_
3
4 #include <vector>
5 #include "exhibit.h"
6 #include "metascene.h"
7
8 class ExhibitManager {
9 private:
10         std::vector<Exhibit*> items;
11
12 public:
13         ExhibitManager();
14         ~ExhibitManager();
15
16         void add(Exhibit *ex);
17         bool remove(Exhibit *ex);
18
19         bool load(MetaScene *mscn, const char *fname);
20
21         ExSelection select(const Ray &ray) const;
22         ExSelection select(const Sphere &sph) const;
23
24         void update(float dt = 0.0f);
25 };
26
27 #endif  // EXMAN_H_