public interface DriverSimView
Modifier and Type | Method and Description |
---|---|
void |
act()
Take control actions for driving the agent's Vehicle.
|
Lane |
getCurrentLane()
Get the Lane the driver is currently following.
|
Set<Lane> |
getCurrentlyOccupiedLanes()
Get the lanes the driver's vehicle currently occupies.
|
Road |
getDestination()
Get where this driver is going.
|
SpawnPoint |
getSpawnPoint()
Get where this driver is coming from.
|
VehicleDriverView |
getVehicle()
Get the Vehicle this DriverAgent is controlling.
|
void |
setCurrentLane(Lane lane)
Set the Lane the driver is currently following.
|
void |
setDestination(Road destination)
Set where this driver is going.
|
void |
setSpawnPoint(SpawnPoint spawnPoint)
Set where this driver agent is coming from.
|
void act()
VehicleDriverView getVehicle()
Lane getCurrentLane()
Set<Lane> getCurrentlyOccupiedLanes()
void setCurrentLane(Lane lane)
lane
- the Lane the driver should followSpawnPoint getSpawnPoint()
void setSpawnPoint(SpawnPoint spawnPoint)
spawnPoint
- the spawn point that generated the driverRoad getDestination()
void setDestination(Road destination)
destination
- the Road where this driver should goCopyright © 2013. All rights reserved.