TravelTime

This commit is contained in:
Gasson-Betuing Danyl 2025-04-04 10:06:11 +02:00
parent 68b73d1b17
commit 1c915e6f16

View file

@ -212,7 +212,7 @@ public class Path {
*/
public double getTravelTime(double speed) {
// TODO:
return 0;
return getLength() * 3600.0 / (speed * 1000.0);
}
/**