Example #1
0
        public void RefreshRates()
        {
            var averageGrowth = Plants.Average((Plant arg) => arg.Growth);

            foreach (var item in this.plants)
            {
                item.multiplier = CalculateRateFor(item.Plant, averageGrowth);
            }
        }