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.
|
* @deprecated Need to be implemented.
|
||||||
*/
|
*/
|
||||||
public double getTravelTime(double speed) {
|
public double getTravelTime(double speed) {
|
||||||
// TODO:
|
return getLength() * 3600.0 / (speed * 1000.0);
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue