diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-21 19:06:58 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-21 19:06:58 +0200 |
commit | fab0fccc0aaa18e915bcd08e81e5a04177e435cd (patch) | |
tree | 0e8e51ff61c88b60d1f845bc9fde20ea5ba7099b /CollisionContext.h | |
parent | 10ce9f45b9551dc103272c2b2374db1c1e3b8bcb (diff) |
fix quad tree collision checker
Diffstat (limited to 'CollisionContext.h')
-rw-r--r-- | CollisionContext.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CollisionContext.h b/CollisionContext.h index 3cce4d7..e35c373 100644 --- a/CollisionContext.h +++ b/CollisionContext.h @@ -1,7 +1,7 @@ #pragma once #include <memory> -#include "QuadTree.h" +#include "CollisionChecker.h" class Museum; @@ -11,12 +11,12 @@ public: void update(); - std::shared_ptr<QuadTree> get_quadtree(); + std::shared_ptr<CollisionChecker> get_checker(); private: Museum & museum; private: - std::shared_ptr<QuadTree> quadtree = nullptr; + std::shared_ptr<CollisionChecker> checker = nullptr; }; |