methode getTravelTime terminee
This commit is contained in:
parent
fe83a92509
commit
3d9ed9d94a
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue