Exemple #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>();
 }
Exemple #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);
 }
Exemple #3
0
 public void Add(Epreuve uneEpreuve, int tempsRealise)
 {
 }
Exemple #4
0
 public Resultat(Participant unParticipant, Epreuve uneEpreuve, int tempsRealise)
 {
     this.unParticipant = unParticipant;
     this.uneEpreuve    = uneEpreuve;
     this.tempsRealise  = tempsRealise;
 }