diff options
Diffstat (limited to 'CollisionContext.h')
-rw-r--r-- | CollisionContext.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/CollisionContext.h b/CollisionContext.h new file mode 100644 index 0000000..3cce4d7 --- /dev/null +++ b/CollisionContext.h @@ -0,0 +1,22 @@ +#pragma once +#include <memory> + +#include "QuadTree.h" + +class Museum; + +class CollisionContext { +public: + CollisionContext(Museum &); + + void update(); + + std::shared_ptr<QuadTree> get_quadtree(); + +private: + Museum & museum; + +private: + std::shared_ptr<QuadTree> quadtree = nullptr; +}; + |