Esempio n. 1
0
 public void Call(Taxi taxiler, List <double> mesafe)
 {
     this.Distance = Math.Round(Math.Sqrt(Math.Pow((taxiler.TaxiX - ClientX), 2) + Math.Pow((taxiler.TaxiY - ClientY), 2)));
     this.Mebleg   = Distance * 0.01;
     mesafe.Add(Distance);
 }