aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/manager/Manager.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-04 18:54:25 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-04 18:54:25 +0100
commit63f7f640e24007b0a6b554d39c7150b29c968982 (patch)
treea5fdf4a40f4a9bfca752bfc0f799f80e30f72951 /src/crepe/manager/Manager.h
parent17e296d059f09d47009f2427132af8f5f8e2f749 (diff)
parentcfb67ffddb9f4bb0357c2b9df4239bfee7364c5a (diff)
Merge branch 'master' into loek/audio
Diffstat (limited to 'src/crepe/manager/Manager.h')
-rw-r--r--src/crepe/manager/Manager.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/crepe/manager/Manager.h b/src/crepe/manager/Manager.h
index 4f21ef4..84d80fe 100644
--- a/src/crepe/manager/Manager.h
+++ b/src/crepe/manager/Manager.h
@@ -4,6 +4,14 @@
namespace crepe {
+/**
+ * \brief Base manager class
+ *
+ * Managers are used for various tasks that fall outside the ECS system category. All managers
+ * are required to register themselves to the mediator passed to the constructor, and this
+ * mutable reference is saved for convenience, even though not all managers use the mediator
+ * directly.
+ */
class Manager {
public:
Manager(Mediator & mediator);