diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-25 13:02:38 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-25 13:02:38 +0200 |
commit | 8cf389aaf748c77aecda0b3a3773c45053b0f231 (patch) | |
tree | 91268879710d6ae2868e548d3f44c664a19443d8 /ViewController.h | |
parent | da669db4f083194bc78358041c5d9929e103ac9f (diff) |
implement all ALGA features
Diffstat (limited to 'ViewController.h')
-rw-r--r-- | ViewController.h | 8 |
1 files changed, 3 insertions, 5 deletions
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 <utility> - #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; |