| Modifier and Type | Method and Description |
|---|---|
BaseAmountable<IWeapon> |
AmountableProvider.createWeaponAmountable() |
| Modifier and Type | Method and Description |
|---|---|
int |
IWeaponStorage.getWeapon(IWeapon weapon)
Retrieve the amount of weapons in storage
|
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) |
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 | Method and Description |
|---|---|
int |
IWeaponsDealer.move(IWeapon weapon,
int amount)
Move ware into this holding.
|
| Modifier and Type | Field and Description |
|---|---|
private Map<IWeapon,javafx.beans.property.IntegerProperty> |
WeaponsDealerState.weaponStore |
| Modifier and Type | Method and Description |
|---|---|
private void |
WeaponsDealerState.addNewWare(IWeapon weapon,
int amount)
Add a new ware to the wares list
|
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 | Method and Description |
|---|---|
int |
INavigableVessel.getWeaponAmount(IWeapon weaponType)
Retrieve the amount of weapons on the ship
|
void |
IShip.move(IWeapon weaponType,
int amount)
Move weapons in or out.
|
| Modifier and Type | Field and Description |
|---|---|
private Map<IWeapon,Integer> |
Ship.loadedWeapons |
| Modifier and Type | Method and Description |
|---|---|
private EShipSide |
Ship.getNextFreeSide(IWeapon weapon)
Retrieve the side of the next free slot where the weapon can be placed.
|
private int |
Ship.getNextFreeSlot(IWeapon weapon,
EShipSide side)
Retrieve the next free slot for the weapon on the side.
|
int |
Ship.getWeaponAmount(IWeapon weaponType) |
int |
ShipGroup.getWeaponAmount(IWeapon weaponType) |
int |
Convoy.getWeaponAmount(IWeapon weaponType) |
void |
Ship.move(IWeapon weaponType,
int amount) |
| Modifier and Type | Class and Description |
|---|---|
class |
EWeapon
Enumeration defining all weapons
|
| Modifier and Type | Method and Description |
|---|---|
BaseAmountable<IWeapon> |
ModelConfiguration.weaponAmountable() |
Copyright © 2011-2016 Sahits GmbH. All Rights Reserved.