blob: 50919773f68ca961c9d483207e684a3cc188bc6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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();
virtual ~System() = default;
public:
//! Reference to component manager
ComponentManager & compmgr;
};
} // namespace crepe
|