IPerson, ISideRoomPerson, ITavernPersonTransportTraderStatepublic interface ITransportTrader extends ISideRoomPerson
| Modifier and Type | Method | Description |
|---|---|---|
ICity |
getDestination() |
Destination city the trader has to get to.
|
java.lang.String |
getName() |
Retrieve the name of the trader.
|
int |
getNeededCapacity() |
Retrieve the needed capacity in bales for the transport.
|
int |
getPremium() |
Retrieve the premium.
|
void |
setDestination(ICity destination) |
Set the destination city
|
void |
setName(java.lang.String name) |
Set the name of the transport trader.
|
void |
setNeededCapacity(int neededCapacity) |
|
void |
setPremium(int premium) |
Set the promised premium
|
arrive, getArrivalDate, getMaxDaysAbsent, getMaxDaysPresent, getNumberOfDaysSinceArrival, isPresent, isPresentProperty, leave, setCityjava.lang.String getName()
ICity getDestination()
int getNeededCapacity()
int getPremium()
void setName(java.lang.String name)
name - of the tradervoid setDestination(ICity destination)
destination - cityvoid setPremium(int premium)
premium - to be payed upon completion.void setNeededCapacity(int neededCapacity)
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.