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, nextIntersectionManager
addCurrentlyOccupiedLane, getCurrentLane, getCurrentlyOccupiedLanes, setCurrentLane, setDestination, setSpawnPoint
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCurrentlyOccupiedLane, getCurrentLane, setCurrentLane
getCurrentLane, setCurrentLane
public ProxyDriver(AutoVehicleDriverView vehicle, BasicMap basicMap)
vehicle
- the vehicle objectbasicMap
- the map objectpublic void act()
act
in interface DriverSimView
act
in class AutoDriver
public SpawnPoint getSpawnPoint()
getSpawnPoint
in interface DriverSimView
getSpawnPoint
in class Driver
public Road getDestination()
getDestination
in interface AutoDriverCoordinatorView
getDestination
in interface DriverSimView
getDestination
in class Driver
Copyright © 2013. All rights reserved.