aim4.map.destination
Interface DestinationSelector

All Known Implementing Classes:
IdentityDestinationSelector, RandomDestinationSelector, RatioDestinationSelector, TurnBasedDestinationSelector, UniqueDestinationSelector

public interface DestinationSelector

The destination selector.


Method Summary
 Road selectDestination(Lane currentLane)
          Select the Road which the given Vehicle should use as its destination.
 

Method Detail

selectDestination

Road selectDestination(Lane currentLane)
Select the Road which the given Vehicle should use as its destination.

Parameters:
currentLane - the lane the Vehicle is currently on, usually also the lane the vehicle spawned on
Returns:
the Road which the Vehicle should use as its destination


Copyright © 2011. All Rights Reserved.