public void Merge(ComposableDictionary <Key, Value> other)
 {
     VerifyConsolidated();
     foreach (Key item in other.remove)
     {
         add.Remove(item);
     }
     foreach (KeyValuePair <Key, Value> item2 in other.add)
     {
         if (add.ContainsKey(item2.Key))
         {
             DebugUtil.LogArgs("Overwriting entry {0}", item2.Key.ToString());
         }
         add.Add(item2.Key, item2.Value);
     }
 }
Пример #2
0
 public BiomeSettings()
 {
     TerrainBiomeLookupTable = new ComposableDictionary <string, ElementBandConfiguration>();
 }
Пример #3
0
 public MobSettings()
 {
     MobLookupTable = new ComposableDictionary <string, Mob>();
 }