public class ProxyDriver extends AutoDriver
currentLane, currentlyOccupiedLanes| Constructor and Description |
|---|
ProxyDriver(AutoVehicleDriverView vehicle,
BasicMap basicMap)
Construct a proxy driver.
|
| Modifier and Type | Method and Description |
|---|---|
void |
act()
Take control actions for driving the agent's Vehicle.
|
Road |
getDestination()
Get where this DriverAgent is going.
|
SpawnPoint |
getSpawnPoint()
Get where this DriverAgent is coming from.
|
distanceFromPrevIntersection, distanceToNextIntersection, getCurrentCoordinator, getCurrentIM, getVehicle, inCurrentIntersection, nextIntersectionManageraddCurrentlyOccupiedLane, getCurrentLane, getCurrentlyOccupiedLanes, setCurrentLane, setDestination, setSpawnPointclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCurrentlyOccupiedLane, getCurrentLane, setCurrentLanegetCurrentLane, setCurrentLanepublic ProxyDriver(AutoVehicleDriverView vehicle, BasicMap basicMap)
vehicle - the vehicle objectbasicMap - the map objectpublic void act()
act in interface DriverSimViewact in class AutoDriverpublic SpawnPoint getSpawnPoint()
getSpawnPoint in interface DriverSimViewgetSpawnPoint in class Driverpublic Road getDestination()
getDestination in interface AutoDriverCoordinatorViewgetDestination in interface DriverSimViewgetDestination in class DriverCopyright © 2013. All rights reserved.