Interface IFugitive
-
- All Superinterfaces:
IPerson,ISideRoomPerson,ITavernPerson
- All Known Implementing Classes:
FugitiveState
public interface IFugitive 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 of the fugative
-
getPremium
int getPremium()
Retrieve the premium promised upon delivery.- Returns:
- premium for successful delivery of the fugative.
-
getArrivalAtDestinationDate
java.time.LocalDateTime getArrivalAtDestinationDate()
Date at which the traveler must arrive at the destination.- Returns:
-
-