public class IdentityDestinationSelector extends Object implements DestinationSelector
Constructor and Description |
---|
IdentityDestinationSelector()
Create a new IdentityDestinationSelector from the given Layout.
|
Modifier and Type | Method and Description |
---|---|
Road |
selectDestination(Lane currentLane)
Select the Road which the given Vehicle should use as its destination.
|
public IdentityDestinationSelector()
public Road selectDestination(Lane currentLane)
selectDestination
in interface DestinationSelector
currentLane
- the lane the Vehicle is currently on, usually also
the lane the vehicle spawned onCopyright © 2013. All rights reserved.