public void AddCollections(Dictionary <string, int> dic) { var colle = Collectables.ToSafe(); foreach (var(name, count) in dic) { colle[name] += count; } Collectables = colle.Data; }
public void AddCollections(Dictionary <string, int> dic) { var colle = Collectables.ToSafe(); foreach (var(name, count) in dic) { colle[name] += count; } Collectables = colle.Data; }