public class SmugglerState extends BaseTavernPerson implements ISmuggler, IUpdatableCityRelatedState
isPresentPropertyisPresentProperty| Modifier and Type | Field and Description |
|---|---|
private int |
amount |
private ICity |
destination |
private IMap |
map |
private int |
premium |
private Random |
rnd |
| Constructor and Description |
|---|
SmugglerState() |
| Modifier and Type | Method and Description |
|---|---|
void |
update(ICity startCity)
Update the state by using the referenced city.
|
arrive, getNumberOfDaysSinceArrival, isPresent, isPresentProperty, leaveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAmount, getDestination, getPremiumarrive, getArrivalDate, getMaxDaysAbsent, getMaxDaysPresent, getNumberOfDaysSinceArrival, isPresent, isPresentProperty, leave, setCity@Autowired private Random rnd
@Autowired private IMap map
private int amount
private int premium
private ICity destination
public void update(ICity startCity)
IUpdatableCityRelatedStateupdate in interface IUpdatableCityRelatedStateCopyright © 2011-2015 Sahits GmbH. All Rights Reserved.