Example #1
0
        public void OnDayStart()
        {
            foreach (var country in _country.Countries)
            {
                var taxes = _population.GetDailyTaxIncome(country);
                _money.Add(country, $"{Content.taxes_name} ({_population.GetCount(country)})", taxes);

                var locCount  = _map.GetCountryLocations(country).Count;
                var growCount = _population.TryGrowForDay(country, locCount);
                if (growCount > 0)
                {
                    Debug.WriteLine($"Grow {country} population: +{growCount} = {_population.GetCount(country)}");
                }
            }
        }