public interface IWeapon extends IAmountable
| Modifier and Type | Method and Description |
|---|---|
int |
buyPrice(javafx.beans.property.IntegerProperty availableAmount,
javafx.beans.binding.IntegerBinding amountToBuy)
Compute the price for the weapons to be bought.
|
String |
name()
As this interface is implemented by an enumeration add this method
|
int |
sellPrice(javafx.beans.property.IntegerProperty availableAmount,
javafx.beans.binding.IntegerBinding amountToSell)
Compute the price for the weapons to be sold.
|
String name()
int sellPrice(javafx.beans.property.IntegerProperty availableAmount,
javafx.beans.binding.IntegerBinding amountToSell)
availableAmount - Amount of the weapon that is availableamountToSell - Amount of weapon that is to be soldint buyPrice(javafx.beans.property.IntegerProperty availableAmount,
javafx.beans.binding.IntegerBinding amountToBuy)
availableAmount - Amount of the weapon that is availableamountToBuy - Amount of weapon that is to be boughtCopyright © 2011-2016 Sahits GmbH. All Rights Reserved.