methode getTravelTime terminee

This commit is contained in:
Thior Youssouf-Ben-Abdallah 2025-04-04 10:05:51 +02:00
parent fe83a92509
commit 3d9ed9d94a

View file

@ -215,8 +215,8 @@ public class Path {
* @deprecated Need to be implemented.
*/
public double getTravelTime(double speed) {
// TODO:
return 0;
return getLength() * 3600.0 / (speed * 1000.0);
}
/**