22using unorMapCM = std::unordered_map<std::string, std::shared_ptr<ComponentManager>>;
33 Subscription(
const std::string& directory, std::shared_ptr<EntityManager> entityManager, std::shared_ptr<unorMapCM> compManagers);
46 std::string directory;
51 std::unordered_map<std::string, std::string> entitiesFP;
56 std::shared_ptr<EntityManager> entityManager;
61 std::shared_ptr<unorMapCM> managers;
std::unordered_map< std::string, std::shared_ptr< ComponentManager > > unorMapCM
Definition Subscription.h:22
Subscription(const std::string &directory, std::shared_ptr< EntityManager > entityManager, std::shared_ptr< unorMapCM > compManagers)
Constructor of the Subscription class.
void save(int entity)
Let you save the subscription of an entity in a file, it will preserve the current values of the comp...