Godzil 3 anos atrás
pai
commit
ca9c682daa
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5 0
      source/include/ECS.h

+ 5 - 0
source/include/ECS.h

@@ -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;