aboutsummaryrefslogtreecommitdiff
path: root/CollisionContext.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-21 19:06:58 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-21 19:06:58 +0200
commitfab0fccc0aaa18e915bcd08e81e5a04177e435cd (patch)
tree0e8e51ff61c88b60d1f845bc9fde20ea5ba7099b /CollisionContext.h
parent10ce9f45b9551dc103272c2b2374db1c1e3b8bcb (diff)
fix quad tree collision checker
Diffstat (limited to 'CollisionContext.h')
-rw-r--r--CollisionContext.h6
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;
};