Interface ITraveler

  • All Superinterfaces:
    IPerson, ITavernPerson
    All Known Implementing Classes:
    TravelerState

    public interface ITraveler
    extends ITavernPerson
    Traveler needs to go into a different city.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2013 Created on Jan 23, 2013
    • Method Detail

      • getDestination

        ICity getDestination()
        Get the destination city for the traveler.
        Returns:
        destination of the traveler
      • getPremium

        int getPremium()
        Retrieve the premium promised upon delivery.
        Returns:
        premium upon delivery at the destination.
      • getArrivalAtDestinationDate

        java.time.LocalDateTime getArrivalAtDestinationDate()
        Date at which the traveler must arrive at the destination.
        Returns: