Interface ITransferableJFX
-
- All Known Implementing Classes:
TransferableState
public interface ITransferableJFX
This interfaces defines methods that are accessed by the Transfer actions- Author:
- Andi Hotz, (c) Sahits GmbH, 2011 Created on Dec 11, 2011
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getAmount(int availableAmountCity)
Retrieve the amount that should be transferred.ICity
getCity()
Retrieve the city.ComputablePriceV2
getComputablePrice()
Retrieve the price calculation serviceEDialogType
getDialogType()
Retrieve the dialog type of this transferETransferAmount
getMovableAmount()
Retreive the amount category that is movableIPlayer
getPlayer()
Retrieve the player.INavigableVessel
getVessel()
Retrieve the vessel associated.
-
-
-
Method Detail
-
getVessel
INavigableVessel getVessel()
Retrieve the vessel associated.- Returns:
- the associated vesssel
-
getCity
ICity getCity()
Retrieve the city.- Returns:
- the associated city
-
getPlayer
IPlayer getPlayer()
Retrieve the player.- Returns:
- the associated player
-
getDialogType
EDialogType getDialogType()
Retrieve the dialog type of this transfer- Returns:
- transfer dialog type
-
getAmount
int getAmount(int availableAmountCity)
Retrieve the amount that should be transferred.- Parameters:
availableAmountCity
- available amount in the city- Returns:
- amount that should be transferred.
-
getMovableAmount
ETransferAmount getMovableAmount()
Retreive the amount category that is movable- Returns:
- associated amount enumeration
-
getComputablePrice
ComputablePriceV2 getComputablePrice()
Retrieve the price calculation service- Returns:
- service to calculate the price.
-
-