| Modifier and Type | Method | Description |
|---|---|---|
EShipType[] |
IShipyard.getBuildableShipTypes() |
Retrieve a list of all the types of ships this yard can build.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
IShipyard.calculateBuildTime(EShipType type) |
Calculate the build time for the ship of type.
|
int |
IShipyard.calculateConstructionCosts(EShipType type) |
Calculate the labor costs for building a new ship of the indicated type.
|
int |
IShipyard.calculateRefitCosts(EShipType type,
int levels) |
Calculate the labor costs for the refit based on the ship type and how many levels
should be upgraded.
|
int |
IShipyard.calculateRefitTime(EShipType type) |
Calculate the time in days it takes for refitting.
|
int |
IShipyard.calculateRepairTime(EShipType type) |
Calculate the repair time for the ship of type.
|
java.time.LocalDateTime |
IShipyard.getBuildCompleteDate(EShipType type) |
Retrieve the date when the building of a new ship will be finished.
|
| Modifier and Type | Method | Description |
|---|---|---|
EShipType[] |
ShipyardState.getBuildableShipTypes() |
| Modifier and Type | Method | Description |
|---|---|---|
int |
ShipyardState.calculateBuildTime(EShipType type) |
|
int |
ShipyardState.calculateConstructionCosts(EShipType type) |
|
int |
ShipyardState.calculateRefitCosts(EShipType type,
int levels) |
|
int |
ShipyardState.calculateRefitTime(EShipType type) |
|
int |
ShipyardState.calculateRepairTime(EShipType type) |
|
java.time.LocalDateTime |
ShipyardState.getBuildCompleteDate(EShipType type) |
| Modifier and Type | Method | Description |
|---|---|---|
EShipType |
IAIConstructionSelectionStrategy.shouldBuildShipType(IAIPlayer player) |
Select the ship type to be built.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
IAIConstructionSelectionStrategy.initShipConstruction(IAIPlayer player,
INavigableVessel vessel,
EShipType shipType) |
Initialize the ship construction by collecting the wares.
|
java.util.Optional<INavigableVessel> |
IAIConstructionSelectionStrategy.selectCollectingVessel(IAIPlayer player,
EShipType shipType) |
Find a vessel that will do the collection.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
ModelTranslations.getLocalDisplayName(EShipType type) |
|
java.lang.String |
ModelTranslations.getLocalDisplayNameWithArticle(EShipType type,
boolean upperCaseArticle) |
| Modifier and Type | Method | Description |
|---|---|---|
EShipType |
IShip.getShipType() |
Retrieve the type of the ship.
|
static EShipType |
EShipType.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static EShipType[] |
EShipType.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
EShipType |
Cog.getShipType() |
|
EShipType |
Crayer.getShipType() |
|
EShipType |
Holk.getShipType() |
|
EShipType |
Snaikka.getShipType() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<IWeaponSlot> |
ShipWeaponsLocationFactory.getShipWeaponsLocation(EShipType type,
EShipUpgrade level) |
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.