aboutsummaryrefslogtreecommitdiff
path: root/ViewController.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 /ViewController.h
parent10ce9f45b9551dc103272c2b2374db1c1e3b8bcb (diff)
fix quad tree collision checker
Diffstat (limited to 'ViewController.h')
-rw-r--r--ViewController.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ViewController.h b/ViewController.h
index 708079b..162ae19 100644
--- a/ViewController.h
+++ b/ViewController.h
@@ -8,7 +8,7 @@
class View;
class Museum;
-class QuadTree;
+class QuadTreeCollisionChecker;
class ViewController {
public:
@@ -27,14 +27,14 @@ private:
void update_artists();
void update_pathfinding();
void update_quadtree();
- void update_quadtree_recursive(QuadTree * tree);
+ void update_quadtree_recursive(QuadTreeCollisionChecker * tree);
private:
Museum & museum;
View & view;
const Command * cmd_base = nullptr;
-public:
+private:
bool draw_artists = true;
bool draw_pathfinding = false;
bool draw_quadtree = true;