@Service public class ClientTaskFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
private org.springframework.context.ApplicationContext |
context |
| Constructor and Description |
|---|
ClientTaskFactory() |
| Modifier and Type | Method and Description |
|---|---|
IBreakInAction |
getBreakInAction(ch.sahits.game.openpatrician.model.IPlayer opponent)
Retrieve the task for breaking in into an opponents office.
|
BuyWares |
getBuyWares(ch.sahits.game.openpatrician.client.ICityPlayerProxyJFX cityPlayerProxy,
ch.sahits.game.openpatrician.model.people.IBuyer buyer)
Retrieve the timed task for buying wares.
|
ConcurrentReconciliation |
getConcurrentReconciliation()
Retrieve the concurrent reconsiliation timer task.
|
IDelayedCaughtAction |
getDelayedCaughtAction(ch.sahits.game.openpatrician.model.IPlayer player)
Retrieve the delayed caught timed task.
|
OpponentsOrder |
getOpponentsOrder(ch.sahits.game.openpatrician.model.IPlayer opponent,
ch.sahits.game.openpatrician.model.IPlayer client,
ch.sahits.game.openpatrician.model.IPlayer player,
int premium)
Retrieve the oponents order.
|
PostponedDisplayMessage |
getPostponedDisplayMessage(org.joda.time.DateTime executionTime,
String message)
Retrieve the postponed display message task.
|
public OpponentsOrder getOpponentsOrder(ch.sahits.game.openpatrician.model.IPlayer opponent, ch.sahits.game.openpatrician.model.IPlayer client, ch.sahits.game.openpatrician.model.IPlayer player, int premium)
opponent - playerclient - who gives the orderplayer - the order executorpremium - on successful executionpublic ConcurrentReconciliation getConcurrentReconciliation()
public BuyWares getBuyWares(ch.sahits.game.openpatrician.client.ICityPlayerProxyJFX cityPlayerProxy, ch.sahits.game.openpatrician.model.people.IBuyer buyer)
cityPlayerProxy - proxy instancebuyer - clientpublic IDelayedCaughtAction getDelayedCaughtAction(ch.sahits.game.openpatrician.model.IPlayer player)
player - that is caughtpublic IBreakInAction getBreakInAction(ch.sahits.game.openpatrician.model.IPlayer opponent)
opponent - .public PostponedDisplayMessage getPostponedDisplayMessage(org.joda.time.DateTime executionTime, String message)
executionTime - when the message should pop upmessage - .Copyright © 2011-2015 Sahits GmbH. All Rights Reserved.