ECS/Project/Project/Resources/ResourceManager/LightResourceManager/LightResourceManager.cpp
//	Delete the Light, specified by name.
Delete the Light, specified by name.
Delete the Light specified by name .
void LightResourceManager::deleteLight(std::string deadLightName)
{
	auto lightIterator = mapNameToLightData.find(deadLightName);
	if (lightIterator != mapNameToLightData.end())
	{
		mapNameToLightData.erase(deadLightName);
		std::shared_ptr<ResourceEvent> newEvent = std::make_shared<ResourceEvent>(ResourceType::LIGHT_RESOURCE, ResourceEventType::RESOURCE_DESTROYED, ModuleType::LIGHT_MANAGER, deadLightName, nullptr);
	}
	else
	{
	}
}
void LightResourceManager :: deleteLight ( std :: string deadLightName ) { auto lightIterator = mapNameToLightData . find ( deadLightName ) ; if ( lightIterator != mapNameToLightData . end ( ) ) { mapNameToLightData . erase ( deadLightName ) ; std :: shared_ptr < ResourceEvent > newEvent = std :: make_shared < ResourceEvent > ( ResourceType :: LIGHT_RESOURCE , ResourceEventType :: RESOURCE_DESTROYED , ModuleType :: LIGHT_MANAGER , deadLightName , nullptr ) ; } else { } }
Delete the Light, specified by name.
Delete the Light specified by name .
//	TO DO //	Throw did not find LightData error.