diff options
Diffstat (limited to 'src/core/module.h')
-rw-r--r-- | src/core/module.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/module.h b/src/core/module.h index b46c296..20029cf 100644 --- a/src/core/module.h +++ b/src/core/module.h @@ -33,6 +33,9 @@ public: /// label of the module inline std::string const & label() const { return module_label; } + /// indicates if this is an interactive module or not + inline bool interactive() const { return module_interactive; } + /*----- mutators -------------------------------------------------- */ /// initialize the game module @@ -80,6 +83,7 @@ protected: void abort(); bool module_running; + bool module_interactive; private: std::string module_name; |