public class TransferableState extends Object implements ITransferableJFX
| Modifier and Type | Field and Description |
|---|---|
private ch.sahits.game.openpatrician.model.city.ICity |
city |
private static ch.sahits.game.openpatrician.model.product.ComputablePriceV2 |
computablePrice |
private EDialogType |
dialogType |
private ch.sahits.game.openpatrician.model.product.ETransferAmount |
movableAmount |
private ch.sahits.game.openpatrician.model.IPlayer |
player |
private static ch.sahits.game.openpatrician.util.TransferUtil |
transferUtility |
private ch.sahits.game.openpatrician.model.ship.INavigableVessel |
vessel |
| Constructor and Description |
|---|
TransferableState() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAmount(int availableAmountCity)
Retrieve the amount that should be transferred.
|
ch.sahits.game.openpatrician.model.product.ComputablePriceV2 |
getComputablePrice() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCity, getDialogType, getMovableAmount, getPlayer, getVesselprivate final ch.sahits.game.openpatrician.model.ship.INavigableVessel vessel
private final ch.sahits.game.openpatrician.model.city.ICity city
private final ch.sahits.game.openpatrician.model.IPlayer player
private final EDialogType dialogType
private final ch.sahits.game.openpatrician.model.product.ETransferAmount movableAmount
private static final ch.sahits.game.openpatrician.util.TransferUtil transferUtility
private static final ch.sahits.game.openpatrician.model.product.ComputablePriceV2 computablePrice
public int getAmount(int availableAmountCity)
ITransferableJFXgetAmount in interface ITransferableJFXpublic ch.sahits.game.openpatrician.model.product.ComputablePriceV2 getComputablePrice()
getComputablePrice in interface ITransferableJFXCopyright © 2011-2016 Sahits GmbH. All Rights Reserved.