public interface IWeaponStorage
| Modifier and Type | Method and Description |
|---|---|
int |
getWeapon(IWeapon weapon)
Retrieve the amount of weapons in storage
|
javafx.beans.property.ReadOnlyIntegerProperty |
getWeaponProperty(IWeapon weapon)
Retrieve the property holding the mount of stored weapons of the indicated type.
|
boolean |
hasWeapons()
check if there are any weapons stored
|
int |
update(IWeapon weapon,
int amount)
Move weapons in or out of storage
|
int getWeapon(IWeapon weapon)
weapon - javafx.beans.property.ReadOnlyIntegerProperty getWeaponProperty(IWeapon weapon)
weapon - int update(IWeapon weapon, int amount)
weapon - type of weaponamount - to be moved (positive means into the storage, negative out of the storage)boolean hasWeapons()
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.