| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<INavigableVessel> |
IPlayer.findShips(ICity city) |
Find all ships in a city
|
java.util.List<INavigableVessel> |
IPlayer.getSelectableVessels() |
Provide a different view on the fleet by containing all the
vessels that can be selected.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
IPlayer.addSelectableVessel(INavigableVessel vessel) |
Add a selectable vessel to the list.
|
void |
IAIPlayer.addTradeStep(ITradeStep tradeStep,
INavigableVessel vessel) |
Add a new trade step at the end of the list.
|
ITradeStep |
IAIPlayer.getNextTradeStep(INavigableVessel vessel) |
Retrieve the next trade step that should be executed and remove it from the list.
|
ITradeMissionData |
IAIPlayer.getTradeMission(INavigableVessel vessel) |
Retrieve the trade mission of a given vessel.
|
IAITradeStrategyType |
IAIPlayer.getTradeStrategyType(INavigableVessel vessel) |
Retreive the the type of trade strategy.
|
boolean |
IAIPlayer.hasMoreTradeSteps(INavigableVessel vessel) |
Check if there are further trade steps.
|
void |
IAIPlayer.injectTradeStep(ITradeStep tradeStep,
INavigableVessel vessel) |
Inject a trade step at the beinning of the task list for the vessel
|
boolean |
IAIPlayer.isInitialized(INavigableVessel vessel) |
Check if the trade strategy for the vessel is initialized.
|
void |
IPlayer.removeSelectableVessel(INavigableVessel vessel) |
Remove a selectable vessel from the list.
|
void |
IAIPlayer.setTradeMission(INavigableVessel vessel,
ITradeMissionData tradeMission) |
Add trade mission data fo a vessel.
|
void |
IAIPlayer.setTradeStrategyType(INavigableVessel vessel,
IAITradeStrategyType type) |
|
void |
IAIPlayer.updateTradeWaitingStatus(INavigableVessel vessel,
boolean wait) |
Update the waiting status upon the execution of a trade step.
|
boolean |
IAIPlayer.waitingForTradeStepToFinish(INavigableVessel vessel) |
Check if the next trade step can be executed for the vessel, or if the last
trade step requires waiting on an event.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
PopulationUpdateStats.arrives(INavigableVessel vessel) |
Arriving ships
|
void |
PopulationUpdateStats.depart(INavigableVessel vessel) |
Departing ships.
|
| Modifier and Type | Method | Description |
|---|---|---|
INavigableVessel |
IShipEntersPortEvent.getShip() |
Vessel that enters the port.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<INavigableVessel> |
Player.findShips(ICity city) |
|
java.util.List<INavigableVessel> |
Player.getSelectableVessels() |
| Modifier and Type | Method | Description |
|---|---|---|
INavigableVessel |
ISeaPirate.getShip() |
Retrieve the priate's vehicle.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Optional<INavigableVessel> |
IAIConstructionSelectionStrategy.selectCollectingVessel(IAIPlayer player,
EShipType shipType) |
Find a vessel that will do the collection.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
IAITradeStrategy.executeTradeSteps(IAIPlayer player,
INavigableVessel vessel) |
Execute the trad steps defined for the vessel.
|
java.util.List<ICity> |
IProductionConsumptionKnowledge.findCitiesWithNeedMinimalDistance(ICity distanceToCity,
IWare ware,
INavigableVessel vessel) |
Find cities that need the
ware and order them based on the need and the distance. |
java.util.List<ICity> |
IProductionConsumptionKnowledge.findListWithConsumptionMinimalDistance(ICity distanceToCity,
IWare ware,
INavigableVessel vessel) |
Find cities that consume the ware and order them based on consumption amount and
distance.
|
java.util.List<ICity> |
IProductionConsumptionKnowledge.findListWithProductionsMinimalDistance(ICity distanceToCity,
IWare ware,
INavigableVessel vessel) |
Find cities that produce the ware and order them based on production amount and
distance.
|
ICity |
IAITradeStrategy.getCityToRestartTradeCycle(INavigableVessel vessel) |
In the case where the trade cycle must be re-initialized, but the ship is not in a city,
determine the city to which the vessel should travel.
|
void |
IAITradeStrategy.initializeTradeCycle(IAIPlayer player,
INavigableVessel vessel) |
Initialize the trade cycle.
|
void |
IAIConstructionSelectionStrategy.initShipConstruction(IAIPlayer player,
INavigableVessel vessel,
EShipType shipType) |
Initialize the ship construction by collecting the wares.
|
default boolean |
IAITradeStrategy.isSelectable(IAIPlayer player,
INavigableVessel vessel) |
Check if this strategy can be selected in the current setup.
|
void |
IAIShipRepairStrategy.repair(INavigableVessel vessel,
ICity city) |
Initialize the reppair of the vessel.
|
boolean |
IAIShipRepairStrategy.shouldRepair(INavigableVessel vessel,
ICity city) |
Decide if the
vessel should be repaired, when it is in
city. |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
IAIGuildJoinStrategy.shouldJoin(IAIPlayer player,
ICity city,
java.util.Optional<INavigableVessel> vessel) |
Decide if
player should join the guild in the city. |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Iterator<INavigableVessel> |
ITravellingVessels.iterator() |
|
java.util.Iterator<INavigableVessel> |
TravellingVessels.iterator() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
ILocationTracker.add(INavigableVessel ship) |
Add a shipt to the location tracker.
|
void |
TravellingVessels.addVessel(INavigableVessel vessel,
java.util.Optional<javafx.scene.shape.Path> path,
java.util.List<javafx.geometry.Point2D> points) |
The
vessel starts it's travel and must be added to this collection together with its data. |
TravellingVessel |
ITravellingVessels.getTravellingVessel(INavigableVessel vessel) |
Retrieve the meta date for a travelling vessel.
|
TravellingVessel |
TravellingVessels.getTravellingVessel(INavigableVessel vessel) |
|
boolean |
ITravellingVessels.isTravelling(INavigableVessel vessel) |
Check if the vessel is currently travelling.
|
boolean |
TravellingVessels.isTravelling(INavigableVessel vessel) |
|
void |
TravellingVessels.remove(INavigableVessel vessel) |
The vessel is no longer travelling and should no longer be part of this collection.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
MapLocationDetectionModel.isInCheckedList(INavigableVessel ship) |
| Modifier and Type | Interface | Description |
|---|---|---|
interface |
ICog |
Interface defining a cog
|
interface |
IConvoy |
A convoy is a special representation of a ship.
|
interface |
ICrayer |
This interface marks a ship as a crayer.
|
interface |
IGroupableVessel |
Define access to a vessel that is actutally a group of ships.
|
interface |
IHolk |
Interface defining a holk.
|
interface |
IShip |
Model of a ship
|
interface |
IShipGroup |
A Ship group is similar to a
IConvoy only that there is no Orleg ship. |
interface |
ISnaikka |
This interface defines a snaikka.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
Cog |
|
class |
Convoy |
Implementation of the Convoy.
|
class |
Crayer |
This model represents a crayer.
|
class |
Holk |
|
class |
Ship |
|
class |
ShipGroup |
Implementation of a group of ships mainly used by pirates.
|
class |
Snaikka |
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.