| Modifier and Type | Method and Description |
|---|---|
BaseAmountable<IWeapon> |
AmountableProvider.createWeaponAmountable() |
BaseAmountable<IWeapon> |
ModelConfiguration.weaponAmountable() |
| Modifier and Type | Method and Description |
|---|---|
int |
IWeaponStorage.getWeapon(IWeapon weapon)
Retrieve the amount of weapons in storage
|
javafx.beans.property.ReadOnlyIntegerProperty |
IWeaponStorage.getWeaponProperty(IWeapon weapon)
Retrieve the property holding the mount of stored weapons of the indicated type.
|
int |
ITradingOffice.move(IWeapon weapons,
int amount)
Add or remove weapon from the storage.
|
int |
IWeaponStorage.update(IWeapon weapon,
int amount)
Move weapons in or out of storage
|
| Modifier and Type | Field and Description |
|---|---|
private Hashtable<IWeapon,BaseAmountable<IWeapon>> |
WeaponStorage.storage |
private Hashtable<IWeapon,BaseAmountable<IWeapon>> |
WeaponStorage.storage |
| Modifier and Type | Method and Description |
|---|---|
int |
WeaponStorage.getWeapon(IWeapon weapon) |
javafx.beans.property.ReadOnlyIntegerProperty |
WeaponStorage.getWeaponProperty(IWeapon weapon) |
int |
TradingOffice.move(IWeapon weapon,
int amount)
/**
Add or remove weapon from the storage.
This method is thread save.
|
int |
WeaponStorage.update(IWeapon weapon,
int amount) |
| Modifier and Type | Field and Description |
|---|---|
private HashMap<IWeapon,Boolean> |
Armory.priority |
| Modifier and Type | Method and Description |
|---|---|
int |
IWeaponsDealer.move(IWeapon weapon,
int amount)
Move ware into this holding.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
WeaponsDealerState.containsWare(IWeapon weapons)
Check if there is an amountable object for this ware
|
private int |
WeaponsDealerState.getWeapon(IWeapon weapon)
Retrieve the amount of the weapon that belongs to the dealer.
|
int |
WeaponsDealerState.move(IWeapon weapon,
int amount)
Move ware into this holding.
|
| Modifier and Type | Field and Description |
|---|---|
private Optional<IWeapon> |
PrimaryLargeWeaponSlot.weapon |
private Optional<IWeapon> |
SecondaryLargeWeaponSlot.weapon |
private Optional<IWeapon> |
SmallWeaponSlot.weapon |
| Modifier and Type | Method and Description |
|---|---|
Optional<IWeapon> |
IWeaponSlot.getWeapon()
Retrieve the weapon stored in this slot.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
PrimaryLargeWeaponSlot.assertWeaponType(IWeapon weapon) |
private void |
SecondaryLargeWeaponSlot.assertWeaponType(IWeapon weapon) |
private void |
SmallWeaponSlot.assertWeaponType(IWeapon weapon) |
int |
INavigableVessel.getWeaponAmount(IWeapon weaponType)
Retrieve the amount of weapons on the ship
|
void |
PrimaryLargeWeaponSlot.setWeapon(IWeapon weapon)
Place a small weapon in the slot.
|
void |
IWeaponSlot.setWeapon(IWeapon weapon)
Set or unset a weapon in the slot.
|
void |
SecondaryLargeWeaponSlot.setWeapon(IWeapon weapon)
Place a small weapon in the slot.
|
void |
SmallWeaponSlot.setWeapon(IWeapon weapon)
Place a small weapon in the slot.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Ship.getWeaponAmount(IWeapon weaponType) |
int |
ShipGroup.getWeaponAmount(IWeapon weaponType) |
int |
Convoy.getWeaponAmount(IWeapon weaponType) |
| Modifier and Type | Class and Description |
|---|---|
class |
EWeapon
Enumeration defining all weapons
|
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.