From 10ce9f45b9551dc103272c2b2374db1c1e3b8bcb Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Mon, 21 Oct 2024 17:54:56 +0200 Subject: add ControlBooleanCommand --- ViewController.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ViewController.h') diff --git a/ViewController.h b/ViewController.h index fb15fde..708079b 100644 --- a/ViewController.h +++ b/ViewController.h @@ -21,10 +21,6 @@ public: void ev_mousedown(MouseCode code); void ev_mousemove(unsigned x, unsigned y); -public: - void set_artists_visible(bool visible) { this->draw_artists = visible; } - bool get_artists_visible() { return this->draw_artists; } - private: void update_size(); void update_tiles(); @@ -38,6 +34,7 @@ private: View & view; const Command * cmd_base = nullptr; +public: bool draw_artists = true; bool draw_pathfinding = false; bool draw_quadtree = true; -- cgit v1.2.3