public interface IInformant extends ITavernPerson
isPresentProperty| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<MapSegmentedImage> |
getMapSectionPart(IPlayer player)
The informant may also hold a map part for the player.
|
String |
getName()
Retreive the name of the informant
|
com.google.common.base.Optional<GenericPair<String,ICity>> |
getPirateLocation()
Possible information about the location of a pirate.
|
int |
getPrice(IPlayer player)
Get the price of the information.
|
com.google.common.base.Optional<GenericPair<ICity,IWare>> |
getWareNeeded()
Possible information about in which city which ware is needed.
|
com.google.common.base.Optional<GenericPair<ICity,IWare>> |
getWareSurplus()
Possible information about in which city which ware is available in surplus.
|
arrive, getArrivalDate, getMaxDaysAbsent, getMaxDaysPresent, getNumberOfDaysSinceArrival, isPresent, isPresentProperty, leave, setCityint getPrice(IPlayer player)
player - requesting the priceString getName()
com.google.common.base.Optional<GenericPair<ICity,IWare>> getWareNeeded()
com.google.common.base.Optional<GenericPair<ICity,IWare>> getWareSurplus()
com.google.common.base.Optional<GenericPair<String,ICity>> getPirateLocation()
com.google.common.base.Optional<MapSegmentedImage> getMapSectionPart(IPlayer player)
player - requesting playerCopyright © 2011-2015 Sahits GmbH. All Rights Reserved.