public class ConcurrentState extends BaseTavernPerson implements IConcurrent, IUpdateableState
isPresentPropertyisPresentProperty| Modifier and Type | Field and Description |
|---|---|
private IPlayer |
clientPlayer |
private IPlayer |
concurrentPlayer |
private IMap |
map |
private int |
premium |
private Random |
rnd |
| Constructor and Description |
|---|
ConcurrentState() |
| Modifier and Type | Method and Description |
|---|---|
String |
getConcurrentName()
Name of the concurrent who is to be harmed.
|
String |
getName()
Name of the client
|
void |
update()
Update the concurrent with a new pair and premium.
|
arrive, getNumberOfDaysSinceArrival, isPresent, isPresentProperty, leaveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClientPlayer, getConcurrentPlayer, getPremiumarrive, getArrivalDate, getMaxDaysAbsent, getMaxDaysPresent, getNumberOfDaysSinceArrival, isPresent, isPresentProperty, leave, setCity@Autowired private Random rnd
@Autowired private IMap map
private IPlayer clientPlayer
private IPlayer concurrentPlayer
private int premium
public String getName()
IConcurrentgetName in interface IConcurrentpublic String getConcurrentName()
IConcurrentgetConcurrentName in interface IConcurrentpublic void update()
update in interface IUpdateableStateCopyright © 2011-2015 Sahits GmbH. All Rights Reserved.