diff options
| author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-21 17:54:56 +0200 | 
|---|---|---|
| committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-21 17:54:56 +0200 | 
| commit | 10ce9f45b9551dc103272c2b2374db1c1e3b8bcb (patch) | |
| tree | 4fba15ce11c42dbfadca5cf6ff7a4c0b774ff507 /ViewController.h | |
| parent | 90652f512e9621e0dfac497439c7c80bf113d9d5 (diff) | |
add ControlBooleanCommand
Diffstat (limited to 'ViewController.h')
| -rw-r--r-- | ViewController.h | 5 | 
1 files changed, 1 insertions, 4 deletions
| 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; |