| Modifier and Type | Method and Description |
|---|---|
EShipType[] |
IShipyard.getBuildableShipTypes()
Retrieve a list of all the types of ships this yard can build.
|
| Modifier and Type | Method and 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.
|
org.joda.time.DateTime |
IShipyard.getBuildCompleteDate(EShipType type)
Retrieve the date when the building of a new ship will be finished.
|
| Modifier and Type | Method and Description |
|---|---|
EShipType[] |
ShipyardState.getBuildableShipTypes() |
| Modifier and Type | Method and Description |
|---|---|
int |
ShipyardState.calculateBuildTime(EShipType type)
Calculate the build time for the ship of type.
|
int |
ShipyardState.calculateConstructionCosts(EShipType type) |
int |
ShipyardState.calculateRefitCosts(EShipType type,
int levels) |
int |
ShipyardState.calculateRefitTime(EShipType type) |
int |
ShipyardState.calculateRepairTime(EShipType type)
Calculate the repair time for the ship of type.
|
private int |
ShipyardState.getBaseRepairTime(EShipType type) |
org.joda.time.DateTime |
ShipyardState.getBuildCompleteDate(EShipType type) |
| Modifier and Type | Method and Description |
|---|---|
EShipType |
IAIConstructionSelectionStrategy.shouldBuildShipType(IAIPlayer player)
Select the ship type to be built.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IAIConstructionSelectionStrategy.initShipConstruction(IAIPlayer player,
ICity buildLocation,
EShipType shipType)
Initialize the ship construction by collecting the wares.
|
| Modifier and Type | Method and Description |
|---|---|
EShipType |
IShip.getShipType()
Retrieve the type of the ship.
|
static EShipType |
EShipType.valueOf(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 and Description |
|---|---|
EShipType |
Snaikka.getShipType() |
EShipType |
Cog.getShipType() |
EShipType |
Crayer.getShipType() |
EShipType |
Holk.getShipType() |
| Modifier and Type | Method and Description |
|---|---|
IShipWeaponsLocation |
ShipWeaponsLocationFactory.getShipWeaponsLocation(EShipType type,
EShipUpgrade level) |
Copyright © 2011-2017 Sahits GmbH. All Rights Reserved.