public interface ITavernPerson extends IPerson
| Type | Property and Description |
|---|---|
javafx.beans.property.BooleanProperty |
isPresent
Gets the value of the property presentProperty.
|
| Modifier and Type | Method and Description |
|---|---|
void |
arrive()
Person arrives in the tavern.
|
org.joda.time.DateTime |
getArrivalDate() |
int |
getMaxDaysAbsent() |
int |
getMaxDaysPresent() |
int |
getNumberOfDaysSinceArrival()
Compute the days of absence since the last arrival,
if the person is not present.
|
boolean |
isPresent() |
javafx.beans.property.BooleanProperty |
isPresentProperty()
Gets the value of the property presentProperty.
|
void |
leave()
Person leaves the tavern.
|
void |
setCity(ICity city)
Set the city of the tavern in which the person is located.
|
javafx.beans.property.BooleanProperty isPresentProperty
void leave()
void arrive()
int getNumberOfDaysSinceArrival()
boolean isPresent()
javafx.beans.property.BooleanProperty isPresentProperty()
int getMaxDaysAbsent()
int getMaxDaysPresent()
org.joda.time.DateTime getArrivalDate()
void setCity(ICity city)
city - Copyright © 2011-2016 Sahits GmbH. All Rights Reserved.