IPersonWeaponsDealerStatepublic interface IWeaponsDealer extends IPerson
| Modifier and Type | Method | Description |
|---|---|---|
javafx.beans.property.ReadOnlyIntegerProperty |
amountAvailableProperty(EWeapon weapon) |
Property representing the amount that can be bought from the dealer.
|
int |
move(IWeapon weapon,
int amount) |
Move ware into this holding.
|
void |
setCity(ICity city) |
Set the city.
|
javafx.beans.property.ReadOnlyIntegerProperty amountAvailableProperty(EWeapon weapon)
weapon - that is to be soldint move(IWeapon weapon, int amount)
weapon - to be movedamount - of the ware that is movedvoid setCity(ICity city)
city - in which the weapons dealer operatesCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.