Skip to content
Snippets Groups Projects
Commit 7dbdb0da authored by Antoine Félix's avatar Antoine Félix
Browse files

Correction d'un appel du gestionnaire erroné.

parent 060ab1ea
Branches
No related merge requests found
......@@ -27,7 +27,7 @@ namespace psychorientation
this.listeEleves.RemoveAt(indice);
}
public List<Eleve> GetlisteEleves()
public List<Eleve> GetListeEleves()
{
return this.listeEleves;
}
......
......@@ -28,7 +28,7 @@ namespace psychorientation
gestEleve.AjouterEleve(el1);
gestEleve.AjouterEleve(el2);
List<Eleve> listEleve = gestEleve.GetListEleve();
List<Eleve> listEleve = gestEleve.GetListeEleves();
int y = 0;
foreach ( Eleve eleve in listEleve)
{
......
......@@ -102,6 +102,12 @@ namespace psychorientation
public void Progression(double typeEducation)
{
this.competence += (this.effort - typeEducation) / competence * 2;
this.effort += (this.effort - typeEducation) / competence * 2;
}
public void AjouterNote(string nom)
{
Note n = new Note(nom, CalculerNote(), this.competence, this.effort);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment