|
@@ -14,6 +14,8 @@
|
|
|
|
|
|
#include <bitset>
|
|
|
#include <vector>
|
|
|
+#include <unordered_map>
|
|
|
+#include <typeindex>
|
|
|
|
|
|
#include <Pool.h>
|
|
|
|
|
@@ -85,6 +87,9 @@ private:
|
|
|
uint32_t numEntities = 0;
|
|
|
|
|
|
std::vector<IPool*> componentPools;
|
|
|
+ std::vector<Signature> entityComponentSignatures;
|
|
|
+
|
|
|
+ std::unordered_map<std::type_index, System*> systems;
|
|
|
|
|
|
public:
|
|
|
Registry() = default;
|