diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-07 20:52:06 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-07 20:52:06 +0100 |
commit | 827f09031e2d3cc15e956b242774a4566e1403c1 (patch) | |
tree | 5ac1f025afea82ce892272deafcf8918ef518d33 /src/crepe/system/System.h | |
parent | 1c4156ee127b14760ed3b1a0cd16ad12180c7ac6 (diff) |
more WIP audio system
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 |