From 8cf389aaf748c77aecda0b3a3773c45053b0f231 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 25 Oct 2024 13:02:38 +0200 Subject: implement all ALGA features --- ViewController.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'ViewController.h') diff --git a/ViewController.h b/ViewController.h index c74c72a..13257dc 100644 --- a/ViewController.h +++ b/ViewController.h @@ -1,7 +1,5 @@ #pragma once -#include - #include "Color.h" #include "Command.h" #include "KeyboardCode.h" @@ -33,8 +31,8 @@ private: void update_quadtree_recursive(QuadTreeCollisionChecker * tree); private: - void draw_pathfinding_dot(const XY &, const Color &); - Rectangle center(Rectangle); + void draw_pathfinding_dot(const XY &, const Color &); + Rectangle center(Rectangle); private: Museum & museum; @@ -46,7 +44,7 @@ private: bool draw_quadtree = true; bool draw_path = true; bool draw_visited = true; - + private: float scale = 16; float artist_size = scale / 2; -- cgit v1.2.3