예제 #1
0
파일: Race.cs 프로젝트: helios57/anrl
 public Race()
     : base()
 {
     competitors = new CompetitorCollection();
     competitorGroups = new CompetitorGroupCollection();
     flights = new FlightCollection();
     date = new DateTime();
     map = new Map();
     takeOffGate = new Gate();
     defaultRunway = true;
     defaultTargetFlightDuration = new TimeSpan(0);
     timeToStartGateDefault = new TimeSpan(0);
     timeToStartGateAlternative = new TimeSpan(0);
 }
예제 #2
0
 public void AddRange(CompetitorGroupCollection itemCollection)
 {
     foreach (CompetitorGroup item in itemCollection)
     {
         items.Add(item);
     }
 }