ECS/Project/Project/Resources/ResourceManager/LightResourceManager/LightResourceManager.cpp
//	Return the Light, specified by name.
Return the Light, specified by name.
Return the Light specified by name .
std::shared_ptr<LightData> LightResourceManager::getLight(std::string currentLightName)
{
	auto lightIterator = mapNameToLightData.find(currentLightName);
	if (lightIterator != mapNameToLightData.end())
	{
		return lightIterator->second;
	}
	else
	{
		return NULL;
	}
}
std :: shared_ptr < LightData > LightResourceManager :: getLight ( std :: string currentLightName ) { auto lightIterator = mapNameToLightData . find ( currentLightName ) ; if ( lightIterator != mapNameToLightData . end ( ) ) { return lightIterator -> second ; } else { return NULL ; } }
Return the Light, specified by name.
Return the Light specified by name .
//	TO DO //	Throw did not find LightData error.