@Component @Lazy @DependentInitialisation(StartNewGameBean.class) public class TransferUtil extends java.lang.Object
| Constructor | Description |
|---|---|
TransferUtil() |
| Modifier and Type | Method | Description |
|---|---|---|
int |
calculateAvailableAmount(ETransferAmount movableAmount,
int maxAmount) |
Calculate the available amount to be transfered.
|
int |
calculateAvailableAmount(javafx.beans.property.ObjectProperty<ETransferAmount> movableAmount,
int maxAmount) |
Calculate the available amount to be transfered.
|
public int calculateAvailableAmount(javafx.beans.property.ObjectProperty<ETransferAmount> movableAmount, int maxAmount)
maxAmount - maximal amount that is stored. This is the amount that is the upper bound,
which can be transferred.movableAmount - size type indicating how much should be moved.public int calculateAvailableAmount(ETransferAmount movableAmount, int maxAmount)
maxAmount - maximal amount that is stored. This is the amount that is the upper bound,
which can be transferred.movableAmount - size type indicating how much should be moved.Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.