From fab0fccc0aaa18e915bcd08e81e5a04177e435cd Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Mon, 21 Oct 2024 19:06:58 +0200 Subject: fix quad tree collision checker --- ViewController.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ViewController.h') 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; -- cgit v1.2.3