Class FugitiveState
- java.lang.Object
-
- ch.sahits.game.openpatrician.model.people.impl.BaseTavernPerson
-
- ch.sahits.game.openpatrician.model.people.impl.BaseTravelerState
-
- ch.sahits.game.openpatrician.model.people.impl.FugitiveState
-
- All Implemented Interfaces:
IBaseTraveler
,IFugitive
,IPerson
,ISideRoomPerson
,ITavernPerson
public class FugitiveState extends BaseTravelerState implements IFugitive
Implementation of an fugitive, who needs to travel to another city and will be attacked by a pirate under way.- Author:
- Andi Hotz, (c) Sahits GmbH, 2013 Created on Jan 26, 2013
-
-
Field Summary
-
Fields inherited from class ch.sahits.game.openpatrician.model.people.impl.BaseTavernPerson
date
-
-
Constructor Summary
Constructors Constructor Description FugitiveState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.LocalDateTime
getArrivalAtDestinationDate()
Date at which the traveler must arrive at the destination.-
Methods inherited from class ch.sahits.game.openpatrician.model.people.impl.BaseTravelerState
getMaxDaysPresent
-
Methods inherited from class ch.sahits.game.openpatrician.model.people.impl.BaseTavernPerson
arrive, getMaxDaysAbsent, getNumberOfDaysSinceArrival, isPresent, isPresentProperty, leave
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.sahits.game.openpatrician.model.people.IBaseTraveler
getDestination, getPremium, setArrivalAtDestinationDate, setDestination, setPremium
-
Methods inherited from interface ch.sahits.game.openpatrician.model.people.IFugitive
getDestination, getPremium
-
Methods inherited from interface ch.sahits.game.openpatrician.model.people.ITavernPerson
arrive, getArrivalDate, getMaxDaysAbsent, getMaxDaysPresent, getNumberOfDaysSinceArrival, isPresent, isPresentProperty, leave, setCity
-
-
-
-
Method Detail
-
getArrivalAtDestinationDate
public java.time.LocalDateTime getArrivalAtDestinationDate()
Description copied from interface:IFugitive
Date at which the traveler must arrive at the destination.- Specified by:
getArrivalAtDestinationDate
in interfaceIFugitive
- Returns:
-
-