public void SetCurrentOrder(Place loc, Place dest) { CurrentOrder = new Order(loc, dest); }
public static double GetTimeBetweenPlaces(Place a, Place b) { double time = Math.Sqrt(Math.Pow((a.X - b.X), 2) + Math.Pow((a.Y - b.Y), 2)); return(time); }
public Order(Place locat, Place dest) { location = locat; destination = dest; }