aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/manager/Manager.h
blob: 84d80fef5787e69c11b5f6c613d0a7cd0cd74838 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once

#include "Mediator.h"

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);
	virtual ~Manager() = default;

protected:
	Mediator & mediator;
};

} // namespace crepe