Пример #1
0
 public void MoveExternalThreatsInZone(int currentTurn, int amount, ZoneLocation zoneLocation)
 {
     foreach (var externalThreat in MoveableExternalThreats.Where(threat => threat.CurrentZone == zoneLocation).OrderBy(threat => threat.TimeAppears))
     {
         externalThreat.Move(currentTurn, amount);
     }
 }
Пример #2
0
 public void MoveOtherExternalThreats(int currentTurn, int amount, ExternalThreat source)
 {
     foreach (var externalThreat in MoveableExternalThreats.Except(new[] { source }).OrderBy(threat => threat.TimeAppears))
     {
         externalThreat.Move(currentTurn, amount);
     }
 }