public class TavernState extends Object
| Type | Property and Description |
|---|---|
javafx.collections.ObservableList<ITavernPerson> |
absentPerson |
javafx.collections.ObservableList<IPerson> |
presentPersons |
javafx.beans.property.MapProperty<IPerson,IPlayer> |
talkingTo |
| Modifier and Type | Class and Description |
|---|---|
private class |
TavernState.PresenceChangeListener |
| Modifier and Type | Field and Description |
|---|---|
private javafx.collections.ObservableList<ITavernPerson> |
absentPersons |
private IBuyer |
buyer |
private CaptainsState |
captainsState |
private ICity |
city |
private IConcurrent |
concurrent |
private IContractBroker |
contractBrooker
Brooker that handels the buying of wares that were agreed to
be delivered through a notice in another city.
|
private ICourier |
courier |
private IEscorte |
escorte |
private IFugitive |
fugative |
private IInformant |
informant |
private IPatrol |
patrol |
private IPirate |
pirate |
private IPirateHunter |
pirateHunter |
private javafx.collections.ObservableList<IPerson> |
presentPersons |
private javafx.beans.binding.ObjectBinding<List<ISideRoomPerson>> |
presentPersonsInSideRoom |
private ISailorState |
sailors |
private List<ISideRoomPerson> |
sideRoomPersons |
private ISmuggler |
smuggler |
private javafx.beans.property.MapProperty<IPerson,IPlayer> |
talkingTo |
private IThieve |
thieve |
private ITrader |
trader |
private ITransportTrader |
transportTrader |
private ITraveler |
traveler |
private ITreasureMapOwner |
treasureMap |
private IWarehouseTenant |
warehouseTenant |
private IWeaponsDealer |
weaponsDealer |
| Constructor and Description |
|---|
TavernState(ICity city) |
| Modifier and Type | Method and Description |
|---|---|
javafx.collections.ObservableList<ITavernPerson> |
absentPersonProperty() |
(package private) List<ITavernPerson> |
asListAllAbsent()
Retrieve all people who are present
|
(package private) List<IPerson> |
asListAllPresent()
Retrieve all people who are present
|
private List<ITavernPerson> |
getAbsentPersons() |
private List<IPerson> |
getPresentPersons()
Retrieve a list of all persons present at the tavern
|
ISailorState |
getSailors() |
private void |
initCity() |
private void |
initializePresenceBinding() |
boolean |
isTalkingToOtherPlayer(ITavernPerson person,
IPlayer player) |
javafx.beans.binding.ObjectBinding<List<ISideRoomPerson>> |
presentPersonsInSideRoomBinding() |
javafx.collections.ObservableList<IPerson> |
presentPersonsProperty() |
void |
setContractBrooker(IContractBroker contractBrooker) |
javafx.beans.property.MapProperty<IPerson,IPlayer> |
talkingToProperty() |
@Autowired private ITrader trader
@Autowired private IInformant informant
@Autowired private ITraveler traveler
private IContractBroker contractBrooker
@Autowired private IThieve thieve
@Autowired private IEscorte escorte
@Autowired private IFugitive fugative
@Autowired private IPatrol patrol
@Autowired private ICourier courier
@Autowired private ITransportTrader transportTrader
@Autowired private IConcurrent concurrent
@Autowired private IBuyer buyer
@Autowired private IPirateHunter pirateHunter
@Autowired private IWarehouseTenant warehouseTenant
@Autowired private ISmuggler smuggler
@Autowired private ITreasureMapOwner treasureMap
@Autowired private IWeaponsDealer weaponsDealer
@Autowired private IPirate pirate
@Autowired private ISailorState sailors
@Autowired private CaptainsState captainsState
private ICity city
private javafx.collections.ObservableList<ITavernPerson> absentPersons
private javafx.collections.ObservableList<IPerson> presentPersons
private javafx.beans.binding.ObjectBinding<List<ISideRoomPerson>> presentPersonsInSideRoom
private final List<ISideRoomPerson> sideRoomPersons
public TavernState(ICity city)
public javafx.collections.ObservableList<ITavernPerson> absentPersonProperty()
public javafx.collections.ObservableList<IPerson> presentPersonsProperty()
public javafx.beans.binding.ObjectBinding<List<ISideRoomPerson>> presentPersonsInSideRoomBinding()
public ISailorState getSailors()
private void initCity()
@PostConstruct private void initializePresenceBinding()
private List<ITavernPerson> getAbsentPersons()
private List<IPerson> getPresentPersons()
public void setContractBrooker(IContractBroker contractBrooker)
List<ITavernPerson> asListAllAbsent()
public boolean isTalkingToOtherPlayer(ITavernPerson person, IPlayer player)
Copyright © 2011-2015 Sahits GmbH. All Rights Reserved.