Public Member Functions | |
WayPoint (int x, int y, int waitTime) throws ParseException | |
double | getPositionOnStreet () |
Street | getStreet () |
int | getWaittime () |
int | getX () |
int | getY () |
void | setWaittime (int waitTime) |
A waypoint used for routing.
|
inline |
Instantiates a new waypoint.
x | the x coordinate |
y | the y coordinate |
waitTime | the time to wait BEFORE movement to the next waypoint starts. |
ParseException | if the coordinates supplied couldn't be matched to a street within 100m distance. |
|
inline |
Gets the position on the street.
|
inline |
Gets the street on which this waypoint is located.
|
inline |
Gets the time to wait BEFORE movement to the next waypoint begins.
|
inline |
Gets the x coordinate.
|
inline |
Gets the y coordinate.
|
inline |
Sets the wait time
waitTime |