public interface IWeaponsDealer extends IPerson
| Modifier and Type | Method and Description |
|---|---|
javafx.beans.property.IntegerProperty |
amountAvailableProperty(EWeapon weapon)
Property representing the amount that can be bought from the dealer.
|
javafx.beans.binding.IntegerBinding |
buyPriceBinding(javafx.beans.property.ObjectProperty<ETransferAmount> amount,
EWeapon weapon)
Binding indicating the buy price.
|
int |
move(IWeapon weapon,
int amount)
Move ware into this holding.
|
javafx.beans.binding.IntegerBinding |
sellPriceBinding(EWeapon weapon,
javafx.beans.binding.IntegerBinding amountToSell)
Binding indicating the sell price.
|
javafx.beans.property.IntegerProperty amountAvailableProperty(EWeapon weapon)
weapon - that is to be soldjavafx.beans.binding.IntegerBinding buyPriceBinding(javafx.beans.property.ObjectProperty<ETransferAmount> amount, EWeapon weapon)
weapon - that is to be soldamount - the amount of the weapon that is wished to be boughtjavafx.beans.binding.IntegerBinding sellPriceBinding(EWeapon weapon, javafx.beans.binding.IntegerBinding amountToSell)
weapon - that is to be soldamountToSell - the amount of the weapon that should be sold. This is
the amount the player has in store.int move(IWeapon weapon, int amount)
weapon - to be movedamount - of the ware that is movedCopyright © 2011-2015 Sahits GmbH. All Rights Reserved.