| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<IShip> |
IPlayer.getFleet() |
Get a list of all ships
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
IPlayer.addShip(IShip ship) |
Add a new ship for the player
|
IShipAuction |
ModelFactory.createAnonymousShipAuction(java.time.LocalDateTime auctionDate,
int startingBid,
IShip ship) |
Retrieve an auction instance for a
ship, that has no previous owner, e.g. |
IShipAuction |
ModelFactory.createShipAuction(java.time.LocalDateTime auctionDate,
int startingBid,
IPlayer owner,
IShip ship) |
Retrieve an auction instance for the
ship owned by owner, which
will be auctioned on auctionDate starting with startingBid |
void |
IPlayer.removeShip(IShip ship) |
Remove a ship for the player
|
| Modifier and Type | Method | Description |
|---|---|---|
IShip |
IShipDueDate.getShip() |
Retrieve the ship that is due.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
IShipyard.calculateRepairMaterialCosts(IShip ship,
int damage) |
Calculate the material costs for the repair.
|
void |
IShipyard.cancelRepair(IShip ship) |
Cancel the repair of the ship.
|
void |
IShipyard.removeCompletedConstruction(IShip ship) |
Remove the build entry once it is completed.
|
void |
IShipyard.removeCompletedRepair(IShip ship) |
Remove the repair entry once it is completed.
|
void |
IShipyard.removeCompletedUpgrade(IShip ship) |
Remove the upgrade entry once it is completed.
|
| Modifier and Type | Method | Description |
|---|---|---|
IShip |
IOutriggerContract.getOutrigger() |
Get the outrigger ship.
|
| Modifier and Type | Method | Description |
|---|---|---|
IShip |
IShipAuction.getAuctionedShip() |
Retrieve the ship that is auctioned.
|
| Constructor | Description |
|---|---|
ShipAuction(java.time.LocalDateTime auctionDate,
int startingBid,
IPlayer owner,
IShip auctionedShip) |
Create a ship auction together with it's owner.
|
ShipAuction(java.time.LocalDateTime auctionDate,
int startingBid,
IShip auctionedShip) |
Create a ship auction where the ship did not have a previous owner.
|
| Modifier and Type | Method | Description |
|---|---|---|
IShip |
IShipBuildTask.getShipToBeBuilt() |
Retrieve the ship that is to be built.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
ShipyardState.calculateRepairMaterialCosts(IShip ship,
int damage) |
|
void |
ShipyardState.cancelRepair(IShip ship) |
|
void |
ShipyardState.removeCompletedConstruction(IShip ship) |
|
void |
ShipyardState.removeCompletedRepair(IShip ship) |
|
void |
ShipyardState.removeCompletedUpgrade(IShip ship) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<IShip> |
Player.getFleet() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
Player.addShip(IShip ship) |
|
void |
Player.removeShip(IShip ship) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Optional<IShip> |
ICaptain.getAssignedShip() |
Get the ship the captain is assigned to.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
ICaptain.assignToShip(IShip ship) |
Assign a captain to a ship.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Optional<IShip> |
CaptainState.getAssignedShip() |
Get the ship the captain is assigned to.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
CaptainState.assignToShip(IShip ship) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
IAIBuyWeaponStrategy.buyWeapons(BuyWeapons target,
IShip ship,
IAIPlayer player,
ICity city) |
Buy the weapons.
|
int |
IAIHireSailorStrategy.calculateRequiredSailorAmount(IShip ship,
IAIPlayer player) |
Calculate the number of required sailors on the ship.
|
void |
IAICaptainHireStrategy.hire(IAIPlayer player,
IShip vessel,
ICaptain captain,
ICity city) |
player hires captain on the vessel. |
java.util.Optional<BuyWeapons> |
IAIBuyWeaponStrategy.shouldBuyWeapons(IShip ship,
IAIPlayer player,
ICity city) |
Determine if weapons should be bougth and if so to meet which target.
|
boolean |
IAICaptainHireStrategy.shouldHire(IAIPlayer player,
IShip vessel,
ICity city) |
Should
player hire captain on the vessel. |
boolean |
IAIShipUpgradeStrategy.shouldUpgrade(IShip ship) |
Check if the ship should be upgraded.
|
void |
IAIShipUpgradeStrategy.upgrade(IShip ship,
ICity city) |
Upgrade the ship in city.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<IShip> |
IBlockade.getShips() |
Retrieve all ships for the blockade.
|
java.util.List<IShip> |
IBlockade.getShips(IPlayer player) |
Retrieve the ships of a certain player.
|
java.util.List<IShip> |
IBlockade.getShipsToAuction() |
List containing ships that were captured during the blockade mission,
that will be auctioned at the end.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
IBlockade.addShips(IPlayer player,
java.util.List<IShip> shipList) |
Add a number of ships for a player to the blockade.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<IShip> |
Blockade.getShips() |
|
java.util.List<IShip> |
Blockade.getShips(IPlayer player) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
Blockade.addShips(IPlayer player,
java.util.List<IShip> shipList) |
| Modifier and Type | Interface | Description |
|---|---|---|
interface |
ICog |
Interface defining a cog
|
interface |
ICrayer |
This interface marks a ship as a crayer.
|
interface |
IHolk |
Interface defining a holk.
|
interface |
ISnaikka |
This interface defines a snaikka.
|
| Modifier and Type | Method | Description |
|---|---|---|
IShip |
IConvoy.getOrlegShip() |
Retrieve the lead ship of the convoy.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<IShip> |
IConvoy.getShips() |
Retrieve a list of the ships in the convoy.
|
java.util.List<IShip> |
IConvoy.getShips(IPlayer player) |
Get all the ships in the convoi that belong to a player.
|
java.util.List<IShip> |
IGroupableVessel.getShips() |
Retrieve all ships in the vessel.
|
java.util.List<IShip> |
IShipGroup.getShips() |
Retrieve a list of the ships in the convoy.
|
javafx.beans.property.ObjectProperty<IShip> |
IShip.parentShipProperty() |
Property holding the parent ship in case of a grouping (convoy or group).
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
IConvoy.addShip(IShip ship) |
Add a ship to the convoy.
|
void |
IShipGroup.addShip(IShip ship) |
Add a ship to the convoy.
|
void |
IConvoy.removeShip(IShip ship) |
Remove a ship from the convoy.
|
void |
IShipGroup.removeShip(IShip ship) |
Remove a ship from the convoy.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
Cog |
|
class |
Crayer |
This model represents a crayer.
|
class |
Holk |
|
class |
Ship |
|
class |
Snaikka |
| Modifier and Type | Method | Description |
|---|---|---|
IShip |
Convoy.getOrlegShip() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<IShip> |
Convoy.getShips() |
|
java.util.List<IShip> |
Convoy.getShips(IPlayer player) |
|
java.util.List<IShip> |
ShipGroup.getShips() |
|
javafx.beans.property.ObjectProperty<IShip> |
Ship.parentShipProperty() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
Convoy.addShip(IShip ship) |
|
void |
ShipGroup.addShip(IShip ship) |
|
void |
Convoy.removeShip(IShip ship) |
|
void |
ShipGroup.removeShip(IShip ship) |
| Constructor | Description |
|---|---|
Convoy(IShip orlegShip,
boolean publicConvoy) |
|
ShipGroup(IShip leadShip) |
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.