#ifndef EC_MANAGER_HPP #define EC_MANAGER_HPP #define EC_INIT_ENTITIES_SIZE 1024 #include #include #include "Meta/Combine.hpp" #include "Bitset.hpp" namespace EC { template struct Manager { public: using Combined = EC::Meta::Combine; using BitsetType = EC::Bitset; Manager() { entities.resize(EC_INIT_ENTITIES_SIZE); for(auto entity : entities) { entity->first = false; } } template std::size_t addEntity() { //TODO BitsetType newEntity; return 0; } private: using ComponentsStorage = EC::Meta::Morph >; using EntitiesType = std::tuple; std::vector entities; }; } #endif