| Modifier and Type | Method and Description |
|---|---|
List<INavigableVessel> |
IPlayer.findShips(ICity city)
Find all ships in a city
|
List<INavigableVessel> |
IPlayer.getSelectableVessels()
Provide a different view on the fleet by containing all the
vessels that can be selected.
|
| Modifier and Type | Method and 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 | Field and Description |
|---|---|
private List<INavigableVessel> |
PopulationUpdateStats.arrivedShips |
private List<INavigableVessel> |
PopulationUpdateStats.departedShips |
| Modifier and Type | Method and Description |
|---|---|
void |
PopulationUpdateStats.arrives(INavigableVessel vessel)
Arriving ships
|
void |
PopulationUpdateStats.depart(INavigableVessel vessel)
Departing ships.
|
| Modifier and Type | Method and Description |
|---|---|
INavigableVessel |
IShipEntersPortEvent.getShip()
Vessel that enters the port.
|
| Modifier and Type | Field and Description |
|---|---|
private javafx.collections.ObservableList<INavigableVessel> |
Player.selectableVessel |
private Map<INavigableVessel,ITradeMissionData> |
AIPlayer.tradeMissions |
private com.google.common.collect.LinkedHashMultimap<INavigableVessel,ITradeStep> |
AIPlayer.tradeSteps |
private Map<INavigableVessel,IAITradeStrategyType> |
AIPlayer.tradeStrategyType |
private Map<INavigableVessel,Boolean> |
AIPlayer.waitingStatus
Waiting status of the trade for a ship.
|
| Modifier and Type | Method and Description |
|---|---|
List<INavigableVessel> |
Player.findShips(ICity city) |
List<INavigableVessel> |
Player.getSelectableVessels() |
| Modifier and Type | Method and Description |
|---|---|
INavigableVessel |
ISeaPirate.getShip()
Retrieve the priate's vehicle.
|
| Modifier and Type | Field and Description |
|---|---|
private INavigableVessel |
SeaPirate.ship |
| Modifier and Type | Method and Description |
|---|---|
Optional<INavigableVessel> |
IAIConstructionSelectionStrategy.selectCollectingVessel(IAIPlayer player,
EShipType shipType)
Find a vessel that will do the collection.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
IAITradeStrategy.executeTradeSteps(IAIPlayer player,
INavigableVessel vessel)
Execute the trad steps defined for the vessel.
|
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. |
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.
|
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 and Description |
|---|---|
boolean |
IAIGuildJoinStrategy.shouldJoin(IAIPlayer player,
ICity city,
Optional<INavigableVessel> vessel)
Decide if
player should join the guild in the city. |
| Modifier and Type | Field and Description |
|---|---|
private INavigableVessel |
TravellingVessel.vessel |
| Modifier and Type | Field and Description |
|---|---|
private Map<INavigableVessel,TravellingVessel> |
TravellingVessels.vessels |
| Modifier and Type | Method and Description |
|---|---|
Iterator<INavigableVessel> |
ITravellingVessels.iterator() |
Iterator<INavigableVessel> |
TravellingVessels.iterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
ILocationTracker.add(INavigableVessel ship)
Add a shipt to the location tracker.
|
void |
TravellingVessels.addVessel(INavigableVessel vessel,
Optional<javafx.scene.shape.Path> path,
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) |
TravellingVessel |
TravellingVessels.getTravellingVessel(INavigableVessel vessel)
Retrieve the meta date for a travelling vessel.
|
boolean |
ITravellingVessels.isTravelling(INavigableVessel vessel) |
boolean |
TravellingVessels.isTravelling(INavigableVessel vessel)
Check if the vessel is currently travelling.
|
void |
TravellingVessels.remove(INavigableVessel vessel)
The vessel is no longer travelling and should no longer be part of this collection.
|
| Modifier and Type | Field and Description |
|---|---|
private INavigableVessel |
MapSegmentDataCheck.ship |
| Modifier and Type | Field and Description |
|---|---|
private Map<INavigableVessel,MapSegmentDataCheck> |
MapLocationDetectionModel.checkList |
| Modifier and Type | Method and Description |
|---|---|
boolean |
MapLocationDetectionModel.isInCheckedList(INavigableVessel ship) |
| Modifier and Type | Interface and 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 and 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.