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); } }
public BiomeSettings() { TerrainBiomeLookupTable = new ComposableDictionary <string, ElementBandConfiguration>(); }
public MobSettings() { MobLookupTable = new ComposableDictionary <string, Mob>(); }