diff options
Diffstat (limited to 'src/crepe/system/System.h')
-rw-r--r-- | src/crepe/system/System.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/crepe/system/System.h b/src/crepe/system/System.h index 3b81bef..5091977 100644 --- a/src/crepe/system/System.h +++ b/src/crepe/system/System.h @@ -1,14 +1,22 @@ #pragma once +#include "../ComponentManager.h" + namespace crepe { +//! ECS system base class class System { public: + //! Process components belonging to this system virtual void update() = 0; public: - System() = default; + System(); virtual ~System() = default; + +public: + //! Reference to component manager + ComponentManager & compmgr; }; } // namespace crepe |