public StrawberryScore copy_from(StrawberryScore that){ categories.Clear (); foreach (KeyValuePair<string,RipenessSorter> kvp in that.categories) { categories[kvp.Key] = kvp.Value.copy_of(); } return this; }
public Score(){ settings = new GameSettings.Model (); time = new TimeScore (); berries = new StrawberryScore (); baskets = new BasketScore (); }