/// <summary>
        /// Adds the passed biome to <see cref="_biomeDetails"/> if it is
        /// not in there already. Returns the associated
        /// <see cref="DetailSubList" />.
        /// </summary>
        private DetailSubList AddSubListIfNeeded(BiomeData biome)
        {
            var subList = GetDetailListsFor(biome);

            if (subList.Equals(default(DetailSubList)))
            {
                subList = new DetailSubList(_config, biome.Details);
                _biomeDetails.Add(new KeyValuePair <BiomeData, DetailSubList>(biome, subList));
            }

            return(subList);
        }
 public bool Equals(DetailSubList other)
 {
     return(Equals(MaterialsList, other.MaterialsList) && Equals(ObjectsList, other.ObjectsList));
 }