public void APourOrigine(Point origine) { Origine = origine; DistParcourue = Origine.DistParcourue + DistPA[PA.IndexOf(Origine)]; RetirerPoint(Origine); EstCulDeSac(); }
public void RetirerPoint(Point pt) { int index = PA.IndexOf(pt); PA.Remove(pt); DistPA.RemoveAt(index); }