public interface IWeaponsDealer extends IPerson
| Modifier and Type | Method and 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 - Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.