added getTravelTime()

This commit is contained in:
Lacroix Raphael 2022-03-25 17:05:29 +01:00
parent 1d3673215b
commit ca806aafff

View file

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