Interface IEscorte
-
- All Superinterfaces:
IPerson,ISideRoomPerson,ITavernPerson
- All Known Implementing Classes:
EscorteeState
public interface IEscorte extends ISideRoomPerson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.time.LocalDateTimegetArrivalAtDestinationDate()Date at which the traveler must arrive at the destination.ICitygetDestination()Get the destination city for the traveler.intgetPremium()Retrieve the premium promised upon delivery.-
Methods inherited from interface ch.sahits.game.openpatrician.model.people.ITavernPerson
arrive, getArrivalDate, getMaxDaysAbsent, getMaxDaysPresent, getNumberOfDaysSinceArrival, isPresent, isPresentProperty, leave, setCity
-
-
-
-
Method Detail
-
getDestination
ICity getDestination()
Get the destination city for the traveler.- Returns:
- destination city for the escort
-
getPremium
int getPremium()
Retrieve the premium promised upon delivery.- Returns:
- premium for hte completed escort.
-
getArrivalAtDestinationDate
java.time.LocalDateTime getArrivalAtDestinationDate()
Date at which the traveler must arrive at the destination.- Returns:
-
-