diff --git a/src/app/core/controller.h b/src/app/core/controller.h index 726189d2..4f3a5d03 100644 --- a/src/app/core/controller.h +++ b/src/app/core/controller.h @@ -54,6 +54,7 @@ class Controller : public ExperimentFlags { auto window() -> SDL_Window * { return window_.get(); } void init_test_editor(editor::Editor *editor) { test_editor_ = editor; } void set_active(bool active) { active_ = active; } + auto active() { return active_; } private: friend int ::main(int argc, char **argv);