示例#1
0
 public Tri(string nature, int distanceNatation, int distanceVelo, int distanceCourse)
 {
     this.nature          = nature;
     this.natation        = new Epreuve("natation", distanceNatation);
     this.velo            = new Epreuve("velo", distanceVelo);
     this.course          = new Epreuve("course", distanceCourse);
     this.lesParticipants = new List <Participant>();
 }
示例#2
0
 private bool resultatPresent(Epreuve unEpreuve)
 {
     for (int i = 0; i < lesResultats.Count; i++)
     {
         if (lesResultats[i].GetEpreuve().GetNom() == unEpreuve.GetNom())
         {
             return(true);
         }
     }
     return(false);
 }
示例#3
0
 public void Add(Epreuve uneEpreuve, int tempsRealise)
 {
 }
示例#4
0
 public Resultat(Participant unParticipant, Epreuve uneEpreuve, int tempsRealise)
 {
     this.unParticipant = unParticipant;
     this.uneEpreuve    = uneEpreuve;
     this.tempsRealise  = tempsRealise;
 }