public static bool CheckWeatherConflict(Map facet, Weather exclude, Rectangle2D area)
{
List <Weather> list = GetWeatherList(facet);
if (list == null)
{
return(false);
}
for (int i = 0; i < list.Count; ++i)
{
Weather w = list[i];
if (w != exclude && w.IntersectsWith(area))
{
return(true);
}
}
return(false);
}