void OnNewHour(Time_NewGameHour e) { var newHours = (int)(e.GameTime - DateTime.MinValue).TotalHours; if (newHours > _lastHours + _settings.EngineerSpawnInterval) { _lastHours = newHours; SpawnEngineers(_settings.ClientsPerSpawn); } }
void OnNewHour(Time_NewGameHour e) { var salary = Money.Zero; foreach (var id in Hired) { salary += Get(id).Salary; } _finance.Spend(salary); }
void OnNewHour(Time_NewGameHour e) { _finance.Spend(GetTotalMaintenance()); }
void OnNewHour(Time_NewGameHour e) { _finance.Add(GetTotalIncome()); }