Lines Matching refs:systemInfo
75 ISystem* CreateSystem(const SystemTypeInfo& systemInfo) override;
255 ISystem* Ecs::CreateSystem(const SystemTypeInfo& systemInfo)
258 if (systemInfo.createSystem) {
259 system = GetSystem(systemInfo.UID);
263 system = systemInfo.createSystem(*this);
265 systems_.insert({ systemInfo.uid, system });
266 systemOrder_.emplace_back(system, systemInfo.destroySystem);
603 const auto systemInfo = static_cast<const SystemTypeInfo*>(info);
605 if (const auto pos = systems_.find(systemInfo->uid); pos != systems_.cend()) {
609 RemoveUid(systemOrder_, systemInfo->uid);