added getTravelTime()
This commit is contained in:
parent
1d3673215b
commit
ca806aafff
1 changed files with 1 additions and 2 deletions
|
@ -228,8 +228,7 @@ 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 (this.getLength()/speed);
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue