edu.cmu.emulator.world
Class Route
java.lang.Object
   edu.cmu.emulator.world.Route
edu.cmu.emulator.world.Route
- public class Route 
- extends Object
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
routeDef
protected RouteDef routeDef
startTimeMillis
protected long startTimeMillis
- time that we started navigating this route
 
 
startTimeSecs
protected double startTimeSecs
nextWaypointIndex
protected int nextWaypointIndex
- index of next waypoint that we will navigate towards
 
 
lastWaypoint
protected Waypoint lastWaypoint
- last waypoint we navigated towards
 
 
curWaypoint
protected Waypoint curWaypoint
- current waypoint we are navigating towards
 
 
playbackRate
protected double playbackRate
Route
public Route(RouteDef routeDef)
startRoute
public void startRoute(long startTimeMillis)
- 
 
getStartTimeMillis
public long getStartTimeMillis()
- 
 
getStartTimeSecs
public double getStartTimeSecs()
- 
 
isLoop
public boolean isLoop()
- 
 
getPlaybackRate
public double getPlaybackRate()
- 
 
nextWaypoint
public Waypoint nextWaypoint()
- 
 
Copyright © 2013. All Rights Reserved.