Schnittstelle VehicleControllerPool


public interface VehicleControllerPool
Maintains associations between vehicles and vehicle controllers.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Returns the vehicle controller associated with the vehicle with the given name.
  • Methodendetails

    • getVehicleController

      @Nonnull VehicleController getVehicleController(String vehicleName)
      Returns the vehicle controller associated with the vehicle with the given name. If no vehicle controller is associated with it or if there is no vehicle with the given name, a null-object equivalent will be returned.
      Parameter:
      vehicleName - The name of the vehicle for which to return the vehicle controller.
      Gibt zurück:
      the vehicle controller associated with the vehicle with the given name, or a null-object equivalent.