private void TimedEvent(DateTime currentTime) { if (currentTime.Minute != _minuteOfContractGeneration) { return; } var contract = ContractFactory.CreateContractFor(this); if (contract == null) { return; } Contracts.Add(contract); _gameController.LogGameEvent($"{Name} announced a contract to {contract.ContractType} {contract.Target.TargetName} that belongs to {contract.Target.TargetOwner.Name}"); }