edu.cmu.emulator.world
Class Navigator
java.lang.Object
edu.cmu.emulator.world.Navigator
public class Navigator
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mObject
protected MovableObject mObject
activeRoute
protected Route activeRoute
prevWaypoint
protected Waypoint prevWaypoint
curWaypoint
protected Waypoint curWaypoint
nextWaypoint
protected Waypoint nextWaypoint
wpListenerManager
protected ListenerManager wpListenerManager
debugListeners
private static final boolean debugListeners
- See Also:
- Constant Field Values
Navigator
public Navigator(MovableObject mObject,
GroupWorker groupWorker)
stopNavigationAndHalt
protected void stopNavigationAndHalt(long timeMillis)
stopNavigation
public void stopNavigation()
startRoute
public void startRoute(Route route,
long timeMillis)
startNextSegment
protected void startNextSegment()
segmentEndReached
public void segmentEndReached(long timeMillis)
getActiveRoute
public Route getActiveRoute()
addWaypointListener
public void addWaypointListener(WaypointListener wpl,
int threadMode)
removeWaypointListener
public void removeWaypointListener(WaypointListener wpl)
invokeWPListeners
protected void invokeWPListeners(Waypoint wp,
long timeMillis)
Copyright © 2013. All Rights Reserved.