Skip navigation links
A B C D E F G H I K L M N O P R S T U V W X 

A

AbstractEngine - Class in ch.sahits.game.openpatrician.engine
This is the base class for all engine classes.
AbstractEngine() - Constructor for class ch.sahits.game.openpatrician.engine.AbstractEngine
 
add(INavigableVessel) - Method in class ch.sahits.game.openpatrician.engine.sea.LocationTracker
 
addBuyStep(IWare, int) - Method in class ch.sahits.game.openpatrician.engine.player.AggregatedBuyTradeStep
 
addCity(ICity) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
Add a new city to the engine
addCity(TavernState, ICity) - Method in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
addDestinationPoint(Point2D, boolean) - Method in class ch.sahits.game.openpatrician.engine.sea.AStarGraphProvider
Add a new destination Node to the graph.
addDestinationPointInternal(Point2D, boolean) - Method in class ch.sahits.game.openpatrician.engine.sea.AStarGraphProvider
 
addEdge(T, T, double) - Method in class ch.sahits.game.openpatrician.engine.sea.model.GraphAStar
Adds an edge from source node to destination node.
addEdgeInternal(T, T, double) - Method in class ch.sahits.game.openpatrician.engine.sea.model.GraphAStar
Adds an edge from source node to destination node.
addEdges(Point2D, Point2D, boolean, boolean) - Method in class ch.sahits.game.openpatrician.engine.sea.AStarGraphProvider
 
addNewLoaner(ICity) - Method in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
addNode(T, boolean) - Method in class ch.sahits.game.openpatrician.engine.sea.model.GraphAStar
Adds a new node to the graph.
addNodeInternal(T) - Method in class ch.sahits.game.openpatrician.engine.sea.model.GraphAStar
Adds a new node to the graph.
addPairing(List<IShip>, List<IShip>, List<GenericPair<List<IShip>, List<IShip>>>, int) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
addressee - Variable in class ch.sahits.game.openpatrician.engine.time.IndividualPeriodicalUpdater.UpdateableObject
 
addSellStep(IWare) - Method in class ch.sahits.game.openpatrician.engine.player.AggregatesDumpTradeStep
 
addSellStep(IWare) - Method in class ch.sahits.game.openpatrician.engine.player.AggregatesSellTradeStep
 
addSourceNodeToHeuristic(Point2D) - Method in class ch.sahits.game.openpatrician.engine.sea.AStarHeuristicProvider
Add a new target node to the heuristic.
addSourcePointInternal(Point2D, boolean) - Method in class ch.sahits.game.openpatrician.engine.sea.AStarGraphProvider
 
addTargetNodeToHeuristic(Point2D) - Method in class ch.sahits.game.openpatrician.engine.sea.AStarHeuristicProvider
Add a new target node to the heuristic.
addToFleet(IShip, IShipOwner) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
addTradeStepsInHometownToTravelToNextCity(IAIPlayer, INavigableVessel) - Method in class ch.sahits.game.openpatrician.engine.player.SupplyHometownAIStrategy
Add the tradesteps to buy wares in the hometown and travel to the first stop.
addTradeStepsSellingInHomeTown(IAIPlayer, INavigableVessel) - Method in class ch.sahits.game.openpatrician.engine.player.SupplyHometownAIStrategy
Add the tradesteps in the hometown to sell the wares and check for repairs
addTradeStepTradingNextTown(IAIPlayer, INavigableVessel) - Method in class ch.sahits.game.openpatrician.engine.player.SupplyHometownAIStrategy
Define the trade steps in another town.
AddViolationTask - Class in ch.sahits.game.openpatrician.engine.land.city.internal
Task for filing a city violation.
AddViolationTask(ICityViolation, IAldermanOffice, DateTime) - Constructor for class ch.sahits.game.openpatrician.engine.land.city.internal.AddViolationTask
 
AggregatedBuyTradeStep - Class in ch.sahits.game.openpatrician.engine.player
Trade step aggregating several wares to buy.
AggregatedBuyTradeStep() - Constructor for class ch.sahits.game.openpatrician.engine.player.AggregatedBuyTradeStep
 
AggregatesDumpTradeStep - Class in ch.sahits.game.openpatrician.engine.player
Trade step aggregating dumping the wares.
AggregatesDumpTradeStep() - Constructor for class ch.sahits.game.openpatrician.engine.player.AggregatesDumpTradeStep
 
AggregatesSellTradeStep - Class in ch.sahits.game.openpatrician.engine.player
Trade step aggregating several wares to sell.
AggregatesSellTradeStep() - Constructor for class ch.sahits.game.openpatrician.engine.player.AggregatesSellTradeStep
 
AIPlayerEngine - Class in ch.sahits.game.openpatrician.engine
This implements the engine for an AI Player
AIPlayerEngine() - Constructor for class ch.sahits.game.openpatrician.engine.AIPlayerEngine
 
aiPlayers - Variable in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
aiPlayers - Variable in class ch.sahits.game.openpatrician.engine.sea.LocationTracker
 
AIRepairTask - Class in ch.sahits.game.openpatrician.engine.event.task
 
AIRepairTask(DateTime, IShip) - Constructor for class ch.sahits.game.openpatrician.engine.event.task.AIRepairTask
 
aldermanCandidates - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
aldermanOffice - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
aldermanOffice - Variable in class ch.sahits.game.openpatrician.engine.sea.MapLocationDetector
 
amountableProvider - Variable in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
append(IAIPlayer, INavigableVessel, ITradeStep) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
Add a new trade step for a player.
applicationServerProperties() - Static method in class ch.sahits.game.openpatrician.spring.EngineConfiguration
 
assignTask(IPlayer, IAldermanTask) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
AStar - Class in ch.sahits.game.openpatrician.engine.sea
Implementation of the A* pathfinding algorithm.
AStar() - Constructor for class ch.sahits.game.openpatrician.engine.sea.AStar
 
aStar - Variable in class ch.sahits.game.openpatrician.engine.sea.SeafaringService
 
AStar.NodeComparator - Class in ch.sahits.game.openpatrician.engine.sea
 
AStarGraphProvider - Class in ch.sahits.game.openpatrician.engine.sea
Factory class to provide the graph for the AStar path finding calculation
AStarGraphProvider() - Constructor for class ch.sahits.game.openpatrician.engine.sea.AStarGraphProvider
 
AStarHeuristicProvider - Class in ch.sahits.game.openpatrician.engine.sea
This singleton provides the heuristic for a specific map for the A* algorithm.
AStarHeuristicProvider() - Constructor for class ch.sahits.game.openpatrician.engine.sea.AStarHeuristicProvider
 
aStarHeuristicProvider - Variable in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
AutomaticTradingEngine - Class in ch.sahits.game.openpatrician.engine.land.city
 
AutomaticTradingEngine() - Constructor for class ch.sahits.game.openpatrician.engine.land.city.AutomaticTradingEngine
 
automaticTradingEngine - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 

B

BaseGraphCalulationService - Class in ch.sahits.game.openpatrician.engine.sea
Service providing methods for the calculation of the heuristic and the graph.
BaseGraphCalulationService() - Constructor for class ch.sahits.game.openpatrician.engine.sea.BaseGraphCalulationService
 
BasePlayerTradeStrategy - Class in ch.sahits.game.openpatrician.engine.player
Base implementation of the trading strategy.
BasePlayerTradeStrategy() - Constructor for class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
 
BasePlayerTradeStrategy.WareNeedComparator - Class in ch.sahits.game.openpatrician.engine.player
 
BaseRepairStrategy - Class in ch.sahits.game.openpatrician.engine.player
Base implementation for the repair strategy.
BaseRepairStrategy() - Constructor for class ch.sahits.game.openpatrician.engine.player.BaseRepairStrategy
 
beggarSailorRation - Variable in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
blockade - Variable in class ch.sahits.game.openpatrician.engine.sea.BlockadeSeafightContext
 
BlockadeEngine - Class in ch.sahits.game.openpatrician.engine.sea
Engine handling the blockade.
BlockadeEngine() - Constructor for class ch.sahits.game.openpatrician.engine.sea.BlockadeEngine
 
BlockadeSeafightContext - Class in ch.sahits.game.openpatrician.engine.sea
Sea fight context for the blockade.
BlockadeSeafightContext(IBlockade) - Constructor for class ch.sahits.game.openpatrician.engine.sea.BlockadeSeafightContext
 
blockadeState - Variable in class ch.sahits.game.openpatrician.engine.AIPlayerEngine
 
blockadeState - Variable in class ch.sahits.game.openpatrician.engine.sea.BlockadeEngine
 
blockadeStrategy - Variable in class ch.sahits.game.openpatrician.engine.AIPlayerEngine
 
BlockadeStrategy - Class in ch.sahits.game.openpatrician.engine.player
The blockade strategy decides which ship to select for sending it to the blockade.
BlockadeStrategy() - Constructor for class ch.sahits.game.openpatrician.engine.player.BlockadeStrategy
 
BuyTradeStep - Class in ch.sahits.game.openpatrician.engine.player
Implements the trade step to by the some goods up to a maximum buy price.
BuyTradeStep() - Constructor for class ch.sahits.game.openpatrician.engine.player.BuyTradeStep
 
buyWaresAndTravelToNextStop(IAIPlayer, INavigableVessel, ICity, IProductionConsumptionKnowledge, ICity) - Method in class ch.sahits.game.openpatrician.engine.player.ProductionChainTradeStrategy
 

C

calcF(T, T) - Method in class ch.sahits.game.openpatrician.engine.sea.model.NodeData
 
calculateAccuracy(List<IShip>) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
calculateAgility(List<IShip>) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
calculateAgility(IShip) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
calculateDamage(int, double, double) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
calculateDamagePoints(int, double) - Method in class ch.sahits.game.openpatrician.engine.sea.model.ShipPositionUpdateTask
Calculate the damage for the traveld distance
calculateDeathToll(List<IShip>, int) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
calculateDuration(INavigableVessel, PathInterpolator, double) - Method in interface ch.sahits.game.openpatrician.engine.sea.IPathConverter
Calculate the duration of the travel in milliseconds in real time for the specified fraction of the total distance
calculateEvasionProbability(int, int) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
calculateHeuristicForSource(Point2D, List<ICity>) - Method in class ch.sahits.game.openpatrician.engine.sea.AStarHeuristicProvider
 
calculateIndices(Point2D) - Method in class ch.sahits.game.openpatrician.engine.sea.LocationTracker
 
calculateOutcome(INavigableVessel, INavigableVessel, SeaFightContext) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
Calculate the outcome of the fight.
calculatePairing(List<IShip>, List<IShip>) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
calculateRowsAndColumnsNeeded(int, Dimension2D) - Method in class ch.sahits.game.openpatrician.engine.sea.LocationTracker
Calculate the number of segments the image is partitioned into
calculateShipCapacity() - Method in class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
 
calculateShipStrength(IShip) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
calculateStrength(List<IShip>) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
calculateWareRepputation(ICity, IPlayer) - Method in class ch.sahits.game.openpatrician.engine.land.city.ReputationCalculator
Check each ware if the player contributes and what amount.
calculateWeight(Point2D, Point2D) - Method in class ch.sahits.game.openpatrician.engine.sea.AStarGraphProvider
 
calculateWeight(Point2D, Point2D) - Method in class ch.sahits.game.openpatrician.engine.sea.AStarHeuristicProvider
 
calculateWeight(Point2D, Point2D) - Method in class ch.sahits.game.openpatrician.engine.sea.BaseGraphCalulationService
Calculate the weight between two nodes.
calculator - Variable in class ch.sahits.game.openpatrician.engine.land.city.AutomaticTradingEngine
 
candidateMap - Variable in class ch.sahits.game.openpatrician.engine.land.city.internal.ElectionTask
 
CaptainEngine - Class in ch.sahits.game.openpatrician.engine.land
Engine controling all the roaming captains.
CaptainEngine() - Constructor for class ch.sahits.game.openpatrician.engine.land.CaptainEngine
 
captainEngine - Variable in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
captainsState - Variable in class ch.sahits.game.openpatrician.engine.land.CaptainEngine
 
captureShip(IShip, IShip) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
ch.sahits.game.openpatrician.engine - package ch.sahits.game.openpatrician.engine
 
ch.sahits.game.openpatrician.engine.event.task - package ch.sahits.game.openpatrician.engine.event.task
 
ch.sahits.game.openpatrician.engine.land - package ch.sahits.game.openpatrician.engine.land
 
ch.sahits.game.openpatrician.engine.land.city - package ch.sahits.game.openpatrician.engine.land.city
 
ch.sahits.game.openpatrician.engine.land.city.internal - package ch.sahits.game.openpatrician.engine.land.city.internal
 
ch.sahits.game.openpatrician.engine.player - package ch.sahits.game.openpatrician.engine.player
 
ch.sahits.game.openpatrician.engine.sea - package ch.sahits.game.openpatrician.engine.sea
 
ch.sahits.game.openpatrician.engine.sea.model - package ch.sahits.game.openpatrician.engine.sea.model
 
ch.sahits.game.openpatrician.engine.time - package ch.sahits.game.openpatrician.engine.time
 
ch.sahits.game.openpatrician.spring - package ch.sahits.game.openpatrician.spring
 
CheapProductionTradeStrategy - Class in ch.sahits.game.openpatrician.engine.player
This trade strategy focuses on the cheap production of wares and sells them in the nearest city where there is a need.
CheapProductionTradeStrategy() - Constructor for class ch.sahits.game.openpatrician.engine.player.CheapProductionTradeStrategy
 
CheckForRepairTradeStep - Class in ch.sahits.game.openpatrician.engine.player
Implements the trade step that does the checking if the vessel needs repair and if it does sends the ship for repair.
CheckForRepairTradeStep() - Constructor for class ch.sahits.game.openpatrician.engine.player.CheckForRepairTradeStep
 
checkPetitions(ICityHall) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
checkPirateKilledAldermanTask(ShipAttackEvent) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
Check if the destroyed ship was a pirate ship that belongs to an alderman task.
checkShipLeaving(ClockTick) - Method in class ch.sahits.game.openpatrician.engine.sea.MapLocationDetector
 
checkShipUpdate(ShipPositionUpdateEvent) - Method in class ch.sahits.game.openpatrician.engine.sea.MapLocationDetector
 
checkTasksFinished(IAldermanOffice) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
checkViolations(IAldermanOffice, ICitizen, ICityHall) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
ChurchEngine - Class in ch.sahits.game.openpatrician.engine.land.city
 
ChurchEngine() - Constructor for class ch.sahits.game.openpatrician.engine.land.city.ChurchEngine
 
churchEngine - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
churchMap - Variable in class ch.sahits.game.openpatrician.engine.land.city.ChurchEngine
 
cities - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine.CityInitialisation
 
cities - Variable in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
citiesInteractionService - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
citiesState - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
city - Variable in class ch.sahits.game.openpatrician.engine.event.task.RefitShipTask
 
city - Variable in class ch.sahits.game.openpatrician.engine.event.task.RepairTask
 
city - Variable in class ch.sahits.game.openpatrician.engine.player.AggregatedBuyTradeStep
 
city - Variable in class ch.sahits.game.openpatrician.engine.player.AggregatesDumpTradeStep
 
city - Variable in class ch.sahits.game.openpatrician.engine.player.AggregatesSellTradeStep
 
city - Variable in class ch.sahits.game.openpatrician.engine.player.BuyTradeStep
 
city - Variable in class ch.sahits.game.openpatrician.engine.player.CheckForRepairTradeStep
 
city - Variable in class ch.sahits.game.openpatrician.engine.player.HireSailorsStep
 
city - Variable in class ch.sahits.game.openpatrician.engine.player.SellDumpTradeStep
 
city - Variable in class ch.sahits.game.openpatrician.engine.player.SellTradeStep
 
city - Variable in class ch.sahits.game.openpatrician.engine.player.TakeLoanTradeStep
 
CityEngine - Class in ch.sahits.game.openpatrician.engine.land.city
The CityEngine drives/generates the events that are based in the city.
CityEngine() - Constructor for class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
cityHall - Variable in class ch.sahits.game.openpatrician.engine.land.city.internal.CityWallMaterialBuyingTask
 
cityHallEngine - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
CityHallEngine - Class in ch.sahits.game.openpatrician.engine.land.city
Engine for controlling the aspects of the city government.
CityHallEngine() - Constructor for class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
CityHallEngine.CityInitialisation - Class in ch.sahits.game.openpatrician.engine.land.city
 
cityHalls - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
cityHalls - Variable in class ch.sahits.game.openpatrician.engine.sea.BlockadeEngine
 
CityInitialisation() - Constructor for class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine.CityInitialisation
 
cityProductionAndConsumptionService - Variable in class ch.sahits.game.openpatrician.engine.land.city.ReputationCalculator
 
CityProductionConsumptionKnowledge - Class in ch.sahits.game.openpatrician.engine.player
Model of the knowledge of a player about the production and the consumption of a city.
CityProductionConsumptionKnowledge() - Constructor for class ch.sahits.game.openpatrician.engine.player.CityProductionConsumptionKnowledge
 
cityProductionStorage - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
cityService - Variable in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
cityState - Variable in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
cityUtils - Variable in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
cityWall - Variable in class ch.sahits.game.openpatrician.engine.land.city.internal.CityWallBuildingTask
 
CityWallBuildingTask - Class in ch.sahits.game.openpatrician.engine.land.city.internal
Building task for the city wall.
CityWallBuildingTask(CityWall, DateTime) - Constructor for class ch.sahits.game.openpatrician.engine.land.city.internal.CityWallBuildingTask
 
CityWallMaterialBuyingTask - Class in ch.sahits.game.openpatrician.engine.land.city.internal
Task for the buying the material for the city wall building.
CityWallMaterialBuyingTask(ICityHall, DateTime) - Constructor for class ch.sahits.game.openpatrician.engine.land.city.internal.CityWallMaterialBuyingTask
 
clearRemainingTradeSteps(INavigableVessel, IAIPlayer) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
Remove any remaining trade steps.
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.AIPlayerEngine
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.event.task.AIRepairTask
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.event.task.RefitShipTask
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.event.task.RepairPirateShipTask
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.event.task.RepairTask
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.land.city.AutomaticTradingEngine
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.land.city.ChurchEngine
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.player.BaseRepairStrategy
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.player.CheapProductionTradeStrategy
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.player.HireSailorsStep
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.player.HumanPlayerEngine
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.player.PlayerEngine
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.player.ProductionChainTradeStrategy
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.player.ReputationEngine
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.player.SupplyHometownAIStrategy
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.player.TradeRouteTradeStrategy
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.sea.AStar
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.sea.AStarGraphProvider
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.sea.AStarHeuristicProvider
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.sea.BlockadeEngine
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.sea.LocationTracker
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.sea.MapLocationDetector
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.sea.model.ShipPositionUpdateTask
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.time.IndividualPeriodicalUpdater
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.time.PeriodicalTimeUpdaterV2
 
clientThreadPool - Variable in class ch.sahits.game.openpatrician.engine.sea.SeafaringService
 
clock - Variable in class ch.sahits.game.openpatrician.engine.ClockTickTimer
 
CLOCK_TICK_INTERVALL_MS - Static variable in class ch.sahits.game.openpatrician.spring.EngineConfiguration
Intervall for the clock tick timer
ClockTickTimer - Class in ch.sahits.game.openpatrician.engine
This clock ticking timer extends the pausable timer.
ClockTickTimer(long, long) - Constructor for class ch.sahits.game.openpatrician.engine.ClockTickTimer
 
clockTickTimer() - Method in class ch.sahits.game.openpatrician.spring.EngineConfiguration
 
compare(Pair<IWare, Number>, Pair<IWare, Number>) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy.WareNeedComparator
 
compare(NodeData<Point2D>, NodeData<Point2D>) - Method in class ch.sahits.game.openpatrician.engine.sea.AStar.NodeComparator
 
computablePrice - Variable in class ch.sahits.game.openpatrician.engine.land.city.AutomaticTradingEngine
 
computablePrice - Variable in class ch.sahits.game.openpatrician.engine.land.city.internal.CityWallMaterialBuyingTask
 
computablePrice - Variable in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
computablePrice - Variable in class ch.sahits.game.openpatrician.engine.player.BuyTradeStep
 
computablePrice - Variable in class ch.sahits.game.openpatrician.engine.player.SellDumpTradeStep
 
computablePrice - Variable in class ch.sahits.game.openpatrician.engine.player.SellTradeStep
 
computeNumbersOfSailors(ICity) - Method in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
consume - Variable in class ch.sahits.game.openpatrician.engine.player.ProductionConsumptionKnowledge
 
consumer - Variable in class ch.sahits.game.openpatrician.engine.land.city.ReputationCalculator
 
consumeWares() - Method in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
Compute the consume of wares of each city
consumptionAmounts - Variable in class ch.sahits.game.openpatrician.engine.player.CityProductionConsumptionKnowledge
 
containsNode(T) - Method in class ch.sahits.game.openpatrician.engine.sea.model.GraphAStar
Check if the nodeid is already present in the data.
context - Variable in class ch.sahits.game.openpatrician.engine.EngineFactory
 
context - Variable in class ch.sahits.game.openpatrician.engine.event.task.ServerSideTaskFactory
 
context - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
context - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
context - Variable in class ch.sahits.game.openpatrician.engine.player.AggregatedBuyTradeStep
 
context - Variable in class ch.sahits.game.openpatrician.engine.player.AggregatesDumpTradeStep
 
context - Variable in class ch.sahits.game.openpatrician.engine.player.AggregatesSellTradeStep
 
context - Variable in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
 
context - Variable in class ch.sahits.game.openpatrician.engine.player.DefaultStrategyProvider
 
context - Variable in enum ch.sahits.game.openpatrician.engine.player.EAIRepairStrategy
 
context - Variable in enum ch.sahits.game.openpatrician.engine.player.EAITradeStrategyType
 
context - Variable in enum ch.sahits.game.openpatrician.engine.player.ETakeLoanStrategyType
 
context - Variable in class ch.sahits.game.openpatrician.engine.player.ProductionConsumptionKnowledge
 
context - Variable in class ch.sahits.game.openpatrician.engine.player.SupplyHometownAIStrategy
 
context - Variable in class ch.sahits.game.openpatrician.engine.sea.BlockadeEngine
 
context - Variable in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
context - Variable in class ch.sahits.game.openpatrician.spring.EngineConfiguration
 
countMilitia(List<ICityGuard>, Class<? extends ICityGuard>) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
createAggregatedBuyTradeStep(INavigableVessel, ICity, List<IWare>) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
 
createAggregatedDumpStep(INavigableVessel, ICity, List<IWare>) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
 
createAggregatedSellStep(INavigableVessel, ICity, List<IWare>) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
 
createCheckAndTakeLoanStep(IAIPlayer, ICity) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
Create a new instance of the TakeLoan trade step.
createCheckRepairStep(INavigableVessel, ICity) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
Create the trade step to check for repairs.
createConvoy(IBlockade, ICity) - Method in class ch.sahits.game.openpatrician.engine.sea.BlockadeEngine
 
createGraph() - Method in class ch.sahits.game.openpatrician.engine.sea.AStarGraphProvider
 
createGraph() - Method in class ch.sahits.game.openpatrician.engine.sea.AStarHeuristicProvider
 
createHireSailorStep(INavigableVessel, ICity) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
Create a new instance forthe hire sailor step.
createInitialPiratesShip() - Method in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
Create a ship for the pirate
createPath(INavigableVessel, List<Point2D>, double) - Method in interface ch.sahits.game.openpatrician.engine.sea.IPathConverter
Create a path shape out of a list of points.
createPawnRunnable(IDebt) - Method in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
createRemitRunnable(IDebt) - Method in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
createShip() - Method in class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
Create the ship based on the ships type.
createTravelToStep(INavigableVessel, ICity) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
Create the travel step to a different city.

D

dailySailorCost - Variable in class ch.sahits.game.openpatrician.engine.player.PlayerEngine
 
dailyUpdateBalanceSheet() - Method in class ch.sahits.game.openpatrician.engine.player.PlayerEngine
 
damagePerStrength - Variable in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
damageShip(VesselPositionUpdateData, double, IShip) - Method in class ch.sahits.game.openpatrician.engine.sea.model.ShipPositionUpdateTask
Update the damage of the ship that is taken by traveling.
dataModel - Variable in class ch.sahits.game.openpatrician.engine.sea.MapLocationDetector
 
date - Variable in class ch.sahits.game.openpatrician.engine.AIPlayerEngine
 
date - Variable in class ch.sahits.game.openpatrician.engine.land.CaptainEngine
 
date - Variable in class ch.sahits.game.openpatrician.engine.land.city.ChurchEngine
 
date - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
date - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
date - Variable in class ch.sahits.game.openpatrician.engine.land.city.internal.CityWallMaterialBuyingTask
 
date - Variable in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
date - Variable in class ch.sahits.game.openpatrician.engine.land.city.OutriggerService
 
date - Variable in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
 
date - Variable in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
date - Variable in class ch.sahits.game.openpatrician.engine.player.HireSailorsStep
 
date - Variable in class ch.sahits.game.openpatrician.engine.player.TravelToTradeStep
 
date - Variable in class ch.sahits.game.openpatrician.engine.sea.BlockadeEngine
 
date - Variable in class ch.sahits.game.openpatrician.engine.sea.MapLocationDetector
 
date - Variable in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
date - Variable in class ch.sahits.game.openpatrician.engine.time.IndividualPeriodicalUpdater
 
date - Variable in class ch.sahits.game.openpatrician.engine.time.PeriodicalTimeUpdaterV2
 
dateService - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
dayChanged - Variable in class ch.sahits.game.openpatrician.engine.ClockTickTimer
 
deathTollPerDamage - Variable in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
DefaultStrategyProvider - Class in ch.sahits.game.openpatrician.engine.player
Provide the AI strategies defined in the core module.
DefaultStrategyProvider() - Constructor for class ch.sahits.game.openpatrician.engine.player.DefaultStrategyProvider
 
destinationCity - Variable in class ch.sahits.game.openpatrician.engine.player.TravelToTradeStep
 
destroy() - Method in class ch.sahits.game.openpatrician.engine.player.CheapProductionTradeStrategy
 
destroy() - Method in class ch.sahits.game.openpatrician.engine.player.ProductionChainTradeStrategy
 
destroy() - Method in class ch.sahits.game.openpatrician.engine.player.ReputationEngine
 
destroy() - Method in class ch.sahits.game.openpatrician.engine.player.SupplyHometownAIStrategy
 
destroy() - Method in class ch.sahits.game.openpatrician.engine.player.TradeRouteTradeStrategy
 
destroy() - Method in class ch.sahits.game.openpatrician.engine.sea.BlockadeEngine
 
destroy() - Method in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
dissolveConvoy(IConvoy, ICity) - Method in class ch.sahits.game.openpatrician.engine.player.BaseRepairStrategy
Dissolve the convoy and return the list of ships of the owner.
dissolveConvoy(IBlockade, ICity, ICity) - Method in class ch.sahits.game.openpatrician.engine.sea.BlockadeEngine
 
distanceFromSource - Variable in class ch.sahits.game.openpatrician.engine.sea.model.NodeData
Map the sistance of the node to the source.

E

EAIRepairStrategy - Enum in ch.sahits.game.openpatrician.engine.player
Strategy type for the repair of the ship.
EAIRepairStrategy(Class<? extends IAIShipRepairStrategy>) - Constructor for enum ch.sahits.game.openpatrician.engine.player.EAIRepairStrategy
 
EAITradeStrategyType - Enum in ch.sahits.game.openpatrician.engine.player
TODO: ahotz write JavaDoc
EAITradeStrategyType(Class<? extends IAITradeStrategy>) - Constructor for enum ch.sahits.game.openpatrician.engine.player.EAITradeStrategyType
 
edgesFrom(T) - Method in class ch.sahits.game.openpatrician.engine.sea.model.GraphAStar
Returns immutable view of the edges
EightyPercentRepairStrategy - Class in ch.sahits.game.openpatrician.engine.player
Repair strategy for going to repair when ship health drops below 80%.
EightyPercentRepairStrategy() - Constructor for class ch.sahits.game.openpatrician.engine.player.EightyPercentRepairStrategy
 
ElectionTask - Class in ch.sahits.game.openpatrician.engine.land.city.internal
 
ElectionTask(SortedMapRandomizedSameElements, Election, DateTime) - Constructor for class ch.sahits.game.openpatrician.engine.land.city.internal.ElectionTask
 
electNewAlderman(ICityHall) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
electNewMayor(ICityHall) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
EngineConfiguration - Class in ch.sahits.game.openpatrician.spring
Spring configuration for the engine module.
EngineConfiguration() - Constructor for class ch.sahits.game.openpatrician.spring.EngineConfiguration
 
EngineFactory - Class in ch.sahits.game.openpatrician.engine
This abstraction layer for creating engines allows better decoupling and allows therefore easier testing.
EngineFactory() - Constructor for class ch.sahits.game.openpatrician.engine.EngineFactory
 
engineFactory - Variable in class ch.sahits.game.openpatrician.engine.land.city.ChurchEngine
 
engineFactory - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
engineFactory - Variable in class ch.sahits.game.openpatrician.engine.land.city.internal.CityWallMaterialBuyingTask
 
ensureSetup(Point2D, Point2D) - Method in class ch.sahits.game.openpatrician.engine.sea.AStar
 
ESeaFightType - Enum in ch.sahits.game.openpatrician.engine.sea
Define the various types of sea fights.
ESeaFightType() - Constructor for enum ch.sahits.game.openpatrician.engine.sea.ESeaFightType
 
establishChurch(ICity) - Method in class ch.sahits.game.openpatrician.engine.land.city.ChurchEngine
 
establishCityHall(ICity) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
ETakeLoanStrategyType - Enum in ch.sahits.game.openpatrician.engine.player
 
ETakeLoanStrategyType(Class<? extends IAITakeLoanStrategy>) - Constructor for enum ch.sahits.game.openpatrician.engine.player.ETakeLoanStrategyType
 
EUpdateIntervalRegistration - Enum in ch.sahits.game.openpatrician.engine.time
Intervalls that can be registerd to be notified through updates
EUpdateIntervalRegistration() - Constructor for enum ch.sahits.game.openpatrician.engine.time.EUpdateIntervalRegistration
 
execute() - Method in class ch.sahits.game.openpatrician.engine.player.AggregatedBuyTradeStep
 
execute() - Method in class ch.sahits.game.openpatrician.engine.player.AggregatesDumpTradeStep
 
execute() - Method in class ch.sahits.game.openpatrician.engine.player.AggregatesSellTradeStep
 
execute() - Method in class ch.sahits.game.openpatrician.engine.player.BuyTradeStep
 
execute() - Method in class ch.sahits.game.openpatrician.engine.player.CheckForRepairTradeStep
 
execute() - Method in class ch.sahits.game.openpatrician.engine.player.HireSailorsStep
 
execute() - Method in class ch.sahits.game.openpatrician.engine.player.SellDumpTradeStep
 
execute() - Method in class ch.sahits.game.openpatrician.engine.player.SellTradeStep
 
execute() - Method in class ch.sahits.game.openpatrician.engine.player.TakeLoanTradeStep
 
execute() - Method in class ch.sahits.game.openpatrician.engine.player.TravelToTradeStep
 
executeNext - Variable in class ch.sahits.game.openpatrician.engine.player.AggregatedBuyTradeStep
 
executeNext - Variable in class ch.sahits.game.openpatrician.engine.player.AggregatesDumpTradeStep
 
executeNext - Variable in class ch.sahits.game.openpatrician.engine.player.AggregatesSellTradeStep
 
executeNext - Variable in class ch.sahits.game.openpatrician.engine.player.BuyTradeStep
 
executeNext - Variable in class ch.sahits.game.openpatrician.engine.player.SellTradeStep
 
executeTradeSteps(IAIPlayer, INavigableVessel) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
The implementation of the execute trade steps makes the following assumptions: When called there is at least one trade step defined Typically the trade steps are defined up to the travel step.
explodeShipList(IConvoy) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
Create a list of ships from a IConvoy.
explodeShipList(INavigableVessel) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
Convert a vessel into a list of ships.
explodeShipList(IShipGroup) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
Create a list of ships from a group of ships.
explodeShipList(IShip) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
Create a list of ships from a single ship that is neither a IConvoy or IShipGroup.

F

f - Variable in class ch.sahits.game.openpatrician.engine.sea.model.NodeData
 
factory - Variable in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
fillDestinations(ICity, ICity[]) - Method in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
findCached(Point2D, Point2D) - Method in class ch.sahits.game.openpatrician.engine.sea.AStar
 
findCitiesWithNeedMinimalDistance(ICity, IWare) - Method in class ch.sahits.game.openpatrician.engine.player.ProductionConsumptionKnowledge
 
findCityHall(ICity) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
findCitySupplyingWare(IAIPlayer, IWare, ICity) - Method in class ch.sahits.game.openpatrician.engine.player.ProductionChainTradeStrategy
 
findCityWithAllRequiredWares(List<IWare>, IAIPlayer, ICity) - Method in class ch.sahits.game.openpatrician.engine.player.ProductionChainTradeStrategy
 
findClosest(Point2D) - Method in class ch.sahits.game.openpatrician.engine.sea.AStarHeuristicProvider
Find the closest point in the graph for a defined point.
findDebts(ILoaner, IPlayer) - Method in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
Find all the debt of a player with a given loaner.
findDestinationToBuyRequiredProductionWares(IAIPlayer, List<IWare>, ICity) - Method in class ch.sahits.game.openpatrician.engine.player.ProductionChainTradeStrategy
 
findeLatestDate(List<IShipDueDate>) - Method in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
 
findListWithProductionsMinimalDistance(ICity, IWare) - Method in class ch.sahits.game.openpatrician.engine.player.ProductionConsumptionKnowledge
 
findLoans(ILoaner, IPlayer) - Method in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
Find all the debts that were granted by a player.
findMaxSailorsOnShip(List<IShip>) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
findNearestCityWithNeed(ICity, IAIPlayer, IWare, ICity) - Method in class ch.sahits.game.openpatrician.engine.player.CheapProductionTradeStrategy
 
findNextStop(ICity, IProductionConsumptionKnowledge, List<IWare>, ICity) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
Figure out what the next stop should be to supply the ware in the list waresOfInterest.
findPath(Point2D, Point2D) - Method in class ch.sahits.game.openpatrician.engine.sea.AStar
Implements the A-star algorithm and returns the path from source to destination
findTavernEngine() - Method in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
Find the tafern engine for the matching city.
findWaresOfInterest(List<Pair<IWare, Number>>) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
 
findWareToBuy(ICity, IAIPlayer) - Method in class ch.sahits.game.openpatrician.engine.player.CheapProductionTradeStrategy
 
findWeakest(List<GenericPair<List<IShip>, List<IShip>>>, boolean) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
firstNameLoader - Static variable in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
firstNameLoader - Static variable in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 

G

gameFactory - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
getAIShipRepairTask(DateTime, IShip) - Method in class ch.sahits.game.openpatrician.engine.event.task.ServerSideTaskFactory
Retrieve the repair task for an AI ship.
getAldermanOffice() - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
getBigWeaponType() - Method in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
getChildren() - Method in class ch.sahits.game.openpatrician.engine.AbstractEngine
Any engine may hold various child engines.
getChildren() - Method in class ch.sahits.game.openpatrician.engine.AIPlayerEngine
 
getChildren() - Method in class ch.sahits.game.openpatrician.engine.land.CaptainEngine
 
getChildren() - Method in class ch.sahits.game.openpatrician.engine.land.city.AutomaticTradingEngine
 
getChildren() - Method in class ch.sahits.game.openpatrician.engine.land.city.ChurchEngine
 
getChildren() - Method in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
getChildren() - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
getChildren() - Method in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
getChildren() - Method in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
 
getChildren() - Method in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
getChildren() - Method in class ch.sahits.game.openpatrician.engine.player.HumanPlayerEngine
 
getChildren() - Method in class ch.sahits.game.openpatrician.engine.player.PlayerEngine
 
getChildren() - Method in class ch.sahits.game.openpatrician.engine.player.ReputationEngine
 
getChildren() - Method in class ch.sahits.game.openpatrician.engine.sea.BlockadeEngine
 
getChildren() - Method in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
getChurch(ICity) - Method in class ch.sahits.game.openpatrician.engine.land.city.ChurchEngine
 
getCityWallBuildingTask(CityWall, DateTime) - Method in class ch.sahits.game.openpatrician.engine.EngineFactory
 
getCityWallBuyMaterialTask(ICityHall, DateTime) - Method in class ch.sahits.game.openpatrician.engine.EngineFactory
 
getConsumptionAmount(IWare) - Method in class ch.sahits.game.openpatrician.engine.player.CityProductionConsumptionKnowledge
 
getCurrentCity(INavigableVessel) - Method in class ch.sahits.game.openpatrician.engine.player.ProductionChainTradeStrategy
 
getG(T) - Method in class ch.sahits.game.openpatrician.engine.sea.model.NodeData
 
getGraph() - Method in class ch.sahits.game.openpatrician.engine.sea.AStarGraphProvider
 
getHeuristic() - Method in class ch.sahits.game.openpatrician.engine.sea.AStarHeuristicProvider
Retrieve the heuristic map.
getHumanPlayers() - Method in class ch.sahits.game.openpatrician.engine.player.HumanPlayerEngine
 
getKnowlege(ICity) - Method in class ch.sahits.game.openpatrician.engine.player.ProductionConsumptionKnowledge
 
getLimit(ICityHall, ICityPetition) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
Calculate the limit for a petition.
getLimit(ICity, ICityViolation) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
Calculate the limit for a violation.
getLoadedWares(INavigableVessel) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
Find all wares that are loaded on the ship.
getLoadedWaresToSell(INavigableVessel, List<IWare>) - Method in class ch.sahits.game.openpatrician.engine.player.SupplyHometownAIStrategy
Retrieve the wares that can be soled in another city than the hometown.
getMissionData(IAIPlayer, INavigableVessel) - Method in class ch.sahits.game.openpatrician.engine.player.ProductionChainTradeStrategy
 
getMostNeededWares(ICityProductionConsumptionKnowledge) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
Figure out the ware that are most needed in the city.
getMostNeededWares(ICityProductionConsumptionKnowledge, INavigableVessel) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
Figure out the ware that are most needed in the city.
getNameOfSingleLostShip(List<IShip>, List<IShip>) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
getNewElectionTask(SortedMapRandomizedSameElements, Election, DateTime) - Method in class ch.sahits.game.openpatrician.engine.EngineFactory
 
getNextStep(IAIPlayer, INavigableVessel) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
Retrieve the next trade step that should be executed and remove it from the list of an AI player.
getNodeData(T) - Method in class ch.sahits.game.openpatrician.engine.sea.model.GraphAStar
The nodedata corresponding to the current nodeId.
getNumberOfTicks() - Method in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
getPirateRepairTask(DateTime, INavigableVessel, ISeaPirate) - Method in class ch.sahits.game.openpatrician.engine.event.task.ServerSideTaskFactory
Retrieve the repair task for a pirate vessel
getPoint(double, double) - Method in class ch.sahits.game.openpatrician.engine.sea.BaseGraphCalulationService
 
getPointOnMap(double, double) - Method in class ch.sahits.game.openpatrician.engine.sea.LocationTracker
Ensure that the point is on the map.
getPriorityList() - Method in class ch.sahits.game.openpatrician.engine.player.AggregatedBuyTradeStep
Sort the list of wares that should be bought so that the wares with the least amount are at the begining of the list.
getProductionAmount(IWare) - Method in class ch.sahits.game.openpatrician.engine.player.CityProductionConsumptionKnowledge
 
getRandomCity() - Method in class ch.sahits.game.openpatrician.engine.land.CaptainEngine
 
getRefitShipTask(DateTime, IShip, EShipUpgrade, ICityPlayerProxyJFX) - Method in class ch.sahits.game.openpatrician.engine.event.task.ServerSideTaskFactory
Retrieve the ship refit task.
getRegisteredUpdatableObjects() - Method in class ch.sahits.game.openpatrician.engine.time.IndividualPeriodicalUpdater
 
getRepairStrategies() - Method in class ch.sahits.game.openpatrician.engine.player.DefaultStrategyProvider
 
getRepairTask(DateTime, IShip, ICityPlayerProxyJFX) - Method in class ch.sahits.game.openpatrician.engine.event.task.ServerSideTaskFactory
Retrieve the ship repair task.
getRequiredWeaponStrength(ICity) - Method in class ch.sahits.game.openpatrician.engine.land.city.OutriggerService
Calculate the required weapons strength for a city.
getSegments(Point2D, Point2D) - Method in class ch.sahits.game.openpatrician.engine.sea.BaseGraphCalulationService
 
getShipBuildTask(DateTime, EShipType, IPlayer, Point2D) - Method in class ch.sahits.game.openpatrician.engine.event.task.ServerSideTaskFactory
Retrieve the ship build task.
getShipNameListWithoutTheLastShip(List<IShip>) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
getShipsInSegment(Point2D) - Method in class ch.sahits.game.openpatrician.engine.sea.LocationTracker
 
getShipsInSegments(Point2D, int) - Method in class ch.sahits.game.openpatrician.engine.sea.LocationTracker
 
getShipToBeBuilt() - Method in class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
Retrieve the ship that is to be built.
getShipyardEngine() - Method in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
getSmallWeaponType() - Method in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
getSortedProductionWares() - Method in class ch.sahits.game.openpatrician.engine.player.CityProductionConsumptionKnowledge
 
getStoredAmount(IWare) - Method in class ch.sahits.game.openpatrician.engine.player.CityProductionConsumptionKnowledge
 
getStrategy() - Method in enum ch.sahits.game.openpatrician.engine.player.EAIRepairStrategy
 
getStrategy() - Method in enum ch.sahits.game.openpatrician.engine.player.EAITradeStrategyType
 
getStrategy() - Method in enum ch.sahits.game.openpatrician.engine.player.ETakeLoanStrategyType
 
getTakeLoanStrategies() - Method in class ch.sahits.game.openpatrician.engine.player.DefaultStrategyProvider
 
getTangentialSegments(Point2D, Point2D) - Method in class ch.sahits.game.openpatrician.engine.sea.BaseGraphCalulationService
 
getTavernState(ICity) - Method in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
getTradeStrategies() - Method in class ch.sahits.game.openpatrician.engine.player.DefaultStrategyProvider
 
getViolationTask(ICityViolation, IAldermanOffice, DateTime) - Method in class ch.sahits.game.openpatrician.engine.EngineFactory
 
getVoteTask(boolean, DateTime, Ballot) - Method in class ch.sahits.game.openpatrician.engine.EngineFactory
 
getWaresNeedIn(IProductionConsumptionKnowledge, ICityProductionConsumptionKnowledge, ICity) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
Figure out what wares are needed in nextStop, that can be provided in the current town.
getWeeklyReund(ICity) - Method in class ch.sahits.game.openpatrician.engine.land.city.OutriggerService
Calculate the weekly premium.
graph - Variable in class ch.sahits.game.openpatrician.engine.sea.AStar
 
graph - Variable in class ch.sahits.game.openpatrician.engine.sea.AStarGraphProvider
 
graph - Variable in class ch.sahits.game.openpatrician.engine.sea.model.GraphAStar
 
GraphAStar<T> - Class in ch.sahits.game.openpatrician.engine.sea.model
The graph represents an undirected graph.
GraphAStar(Map<T, Map<T, Double>>) - Constructor for class ch.sahits.game.openpatrician.engine.sea.model.GraphAStar
 
graphInitialized - Variable in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
graphProvider - Variable in class ch.sahits.game.openpatrician.engine.sea.AStar
 

H

h - Variable in class ch.sahits.game.openpatrician.engine.sea.model.NodeData
 
handle(long) - Method in class ch.sahits.game.openpatrician.engine.sea.model.ShipPositionUpdateTask
 
handleAcceptedCityPetition(ICityHall, ICityPetition) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
The city council accepted a petition, execute it.
handleAldermansTask(IAldermanOffice) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
handleBlockadeConvoyReturns(ShipEntersPortEvent) - Method in class ch.sahits.game.openpatrician.engine.sea.BlockadeEngine
 
handleBlockadeMission(INavigableVessel, IAIPlayer, ICity) - Method in class ch.sahits.game.openpatrician.engine.AIPlayerEngine
 
handleBlockadeStart(BlockadeShipRequestEvent) - Method in class ch.sahits.game.openpatrician.engine.AIPlayerEngine
 
handleCityAdd(FoundingCityBecomesAccessible) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
Handle the event where a new city is added to the map.
handleCityViolationPunishment(ICityViolation) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
The Hanseatic council agreed on a punishment for a city violation, execute it.
handleClockTick(ClockTick) - Method in interface ch.sahits.game.openpatrician.engine.time.IIndividualPeriodicalUpdater
Method handling the external events of a clock tick.
handleClockTick(ClockTick) - Method in class ch.sahits.game.openpatrician.engine.time.IndividualPeriodicalUpdater
 
handleClockTick(ClockTick) - Method in class ch.sahits.game.openpatrician.engine.time.PeriodicalTimeUpdaterV2
 
handleClockTicked(ClockTick) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
handleClockTickIntervallChange(ClockTickIntervalChange) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
handleDailyUpdate(PeriodicalTimeDayUpdate) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
handleDailyUpdate(PeriodicalDailyUpdate) - Method in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
handleDailyUpdate(PeriodicalTimeDayUpdate) - Method in class ch.sahits.game.openpatrician.engine.player.PlayerEngine
 
handleDailyUpdate(PeriodicalDailyUpdate) - Method in class ch.sahits.game.openpatrician.engine.sea.BlockadeEngine
 
handleDailyUpdates(PeriodicalDailyUpdate) - Method in class ch.sahits.game.openpatrician.engine.land.city.AutomaticTradingEngine
Check if the update message is addressed to this instance and find the targeted Tradeing office.
handleDayChange(ClockTickDayChange) - Method in class ch.sahits.game.openpatrician.engine.land.CaptainEngine
 
handleDayChange(ClockTickDayChange) - Method in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
handleDeniedCityPetition(ICityHall, ICityPetition) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
The city council decided against a petition, inform.
handleDeniedCityViolation(ICityViolation) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
The Hanseatic council decided not to punish a city for its violation, notify.
handleEndOfYearUpdate(PeriodicalTimeYearEndUpdate) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
handleGameLoad(GameStateChange) - Method in class ch.sahits.game.openpatrician.engine.sea.LocationTracker
 
handleGameSpeedChange(ClockTickIntervalChange) - Method in class ch.sahits.game.openpatrician.engine.sea.model.ShipPositionUpdateTask
 
handleGameStartEvent(NewGameClient) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
handleHireSailors(HireSailorEvent) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
Andling the hiring of sailors.
handleMayoralTasks(ICityHall) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
handleMonthlyUpdate(PeriodicalTimeMonthEndUpdate) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
handleNewPirate(NewPirateEvent) - Method in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
Handle the even when a new pirate becomes available.
handleOrderBuildEvent(ShipyardOrderBuild) - Method in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
Recieve the event from the event bus and delegate it.
handleORderRefit(ShipyardOrderRefit) - Method in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
Recieve the event from the event bus and delegate it.
handleOrderRepair(ShipyardOrderRepair) - Method in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
Recieve the event from the event bus and delegate it.
handlePause(PauseGame) - Method in class ch.sahits.game.openpatrician.engine.ClockTickTimer
 
handlePersonsBecomingAbsent(TavernState) - Method in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
Randomized state update for persons that are not present.
handlePersonsBecomingPresent(ICity, TavernState) - Method in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
Randomized state update for persons that are present.
handlePirateDefeated(ShipAttackEvent) - Method in class ch.sahits.game.openpatrician.engine.player.ReputationEngine
 
handlePirateDefeated(ShipDefenseEvent) - Method in class ch.sahits.game.openpatrician.engine.player.ReputationEngine
 
handlePirateShip(INavigableVessel) - Method in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
Check if the vessel should be handled by this engine.
handleRepairFinished(RepairFinishedEvent) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
Handle the event of the ship coming back from repair and the trade steps have to be picked up again.
handleRepairFinished(RepairFinishedEvent) - Method in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
Handle the event for the finished repair.
handleRepairPirateShip(ShipEntersPortEvent) - Method in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
handleResume(ResumeGame) - Method in class ch.sahits.game.openpatrician.engine.ClockTickTimer
 
handleShipArrivesInCity(ShipEntersPortEvent) - Method in class ch.sahits.game.openpatrician.engine.AIPlayerEngine
 
handleShipArrivesInPort(IShipEntersPortEvent) - Method in class ch.sahits.game.openpatrician.engine.player.CheapProductionTradeStrategy
 
handleShipArrivesInPort(IShipEntersPortEvent) - Method in class ch.sahits.game.openpatrician.engine.player.ProductionChainTradeStrategy
 
handleShipArrivesInPort(IShipEntersPortEvent) - Method in class ch.sahits.game.openpatrician.engine.player.SupplyHometownAIStrategy
 
handleShipArrivesInPort(IShipEntersPortEvent) - Method in class ch.sahits.game.openpatrician.engine.player.TradeRouteTradeStrategy
 
handleShipBreaksBlockade(ShipNearingPortEvent) - Method in class ch.sahits.game.openpatrician.engine.sea.BlockadeEngine
 
handleShipLocationUpdate() - Method in class ch.sahits.game.openpatrician.engine.sea.MapLocationDetector
 
handleShipMove(ShipPositionUpdateEvent) - Method in class ch.sahits.game.openpatrician.engine.sea.LocationTracker
 
handleShipPositionUpdate(ShipPositionUpdateEvent) - Method in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
Check if there is a ship near the new position and decide if an attack should be initiated.
handleShipReachesDestination(ShipArrivesAtDestinationEvent) - Method in class ch.sahits.game.openpatrician.engine.player.PlayerEngine
 
handleShipReachesDestination(ShipArrivesAtDestinationEvent) - Method in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
Ship has reached it's destination, select a new one.
handleTradeStrategyStart(GraphInitialisationComplete) - Method in class ch.sahits.game.openpatrician.engine.AIPlayerEngine
 
handleTradingOfficeBuilt(BuildingFinished) - Method in class ch.sahits.game.openpatrician.engine.land.city.AutomaticTradingEngine
When a traiding office is build add it.
handleWeeklyUpdate(PeriodicalTimeWeekEndUpdate) - Method in class ch.sahits.game.openpatrician.engine.land.city.ChurchEngine
 
handleWeeklyUpdate(PeriodicalTimeWeekEndUpdate) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
handleWeeklyUpdate(PeriodicalTimeWeekUpdate) - Method in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
handleWeeklyUpdate(PeriodicalTimeWeekUpdate) - Method in class ch.sahits.game.openpatrician.engine.player.PlayerEngine
Handling the daily update events.
handleWeeklyUpdate(PeriodicalTimeWeekEndUpdate) - Method in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
Periodically check if there is a free pirate and if not, create one.
handleWeeklyUpdates(PeriodicalTimeWeekUpdate) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
hasMoreTradeSteps(IAIPlayer, INavigableVessel) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
Check whether the AI player has more trade steps
height - Variable in class ch.sahits.game.openpatrician.engine.sea.AStarGraphProvider
 
height - Variable in class ch.sahits.game.openpatrician.engine.sea.AStarHeuristicProvider
 
heuristic - Variable in class ch.sahits.game.openpatrician.engine.sea.AStarGraphProvider
 
heuristic - Variable in class ch.sahits.game.openpatrician.engine.sea.model.NodeData
 
heuristicForSourceAvailable(Point2D) - Method in class ch.sahits.game.openpatrician.engine.sea.AStarHeuristicProvider
Check if the heuristic for a target location is calculated.
heuristicMap - Variable in class ch.sahits.game.openpatrician.engine.sea.AStarHeuristicProvider
A map of heuristic from a node to each other node in the graph.
heuristicMap - Variable in class ch.sahits.game.openpatrician.engine.sea.model.GraphAStar
 
heuristicProvider - Variable in class ch.sahits.game.openpatrician.engine.sea.AStarGraphProvider
 
HireSailorsStep - Class in ch.sahits.game.openpatrician.engine.player
Trade step for hiring sailors on a ship.
HireSailorsStep() - Constructor for class ch.sahits.game.openpatrician.engine.player.HireSailorsStep
 
HometownRepairStrategy - Class in ch.sahits.game.openpatrician.engine.player
Repair strategy to repair the ship in the hometown.
HometownRepairStrategy() - Constructor for class ch.sahits.game.openpatrician.engine.player.HometownRepairStrategy
 
HumanPlayerEngine - Class in ch.sahits.game.openpatrician.engine.player
Engine handling automated tasks that are specific to a human player only.
HumanPlayerEngine() - Constructor for class ch.sahits.game.openpatrician.engine.player.HumanPlayerEngine
 
humanPlayerEngine - Variable in class ch.sahits.game.openpatrician.engine.player.PlayerEngine
 

I

IIndividualPeriodicalUpdater - Interface in ch.sahits.game.openpatrician.engine.time
Interface for periodical updates that are individualized as they define the start time.
imageService - Variable in class ch.sahits.game.openpatrician.engine.sea.BaseGraphCalulationService
 
IndividualPeriodicalUpdater - Class in ch.sahits.game.openpatrician.engine.time
 
IndividualPeriodicalUpdater() - Constructor for class ch.sahits.game.openpatrician.engine.time.IndividualPeriodicalUpdater
 
IndividualPeriodicalUpdater.UpdateableObject - Class in ch.sahits.game.openpatrician.engine.time
 
init() - Method in class ch.sahits.game.openpatrician.engine.AIPlayerEngine
 
init() - Method in class ch.sahits.game.openpatrician.engine.land.CaptainEngine
 
init() - Method in class ch.sahits.game.openpatrician.engine.land.city.ChurchEngine
 
init() - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
init() - Method in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
init() - Method in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
init() - Method in class ch.sahits.game.openpatrician.engine.player.CheapProductionTradeStrategy
 
init() - Method in class ch.sahits.game.openpatrician.engine.player.CityProductionConsumptionKnowledge
 
init() - Method in class ch.sahits.game.openpatrician.engine.player.DefaultStrategyProvider
 
init() - Method in class ch.sahits.game.openpatrician.engine.player.HumanPlayerEngine
 
init() - Method in class ch.sahits.game.openpatrician.engine.player.PlayerEngine
 
init() - Method in class ch.sahits.game.openpatrician.engine.player.ProductionChainTradeStrategy
 
init() - Method in class ch.sahits.game.openpatrician.engine.player.ProductionConsumptionKnowledge
 
init() - Method in class ch.sahits.game.openpatrician.engine.player.SupplyHometownAIStrategy
 
init() - Method in class ch.sahits.game.openpatrician.engine.player.TradeRouteTradeStrategy
 
init() - Method in class ch.sahits.game.openpatrician.engine.sea.AStarGraphProvider
 
init() - Method in class ch.sahits.game.openpatrician.engine.sea.MapLocationDetector
 
init() - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
initGraph(HeuristicGraphInitialisationComplete) - Method in class ch.sahits.game.openpatrician.engine.sea.AStarGraphProvider
 
initialisation - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
initialisationHappened - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine.CityInitialisation
 
initialize() - Method in class ch.sahits.game.openpatrician.engine.land.city.AutomaticTradingEngine
 
initialize() - Method in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
initialize() - Method in class ch.sahits.game.openpatrician.engine.player.ReputationEngine
 
initialize() - Method in class ch.sahits.game.openpatrician.engine.sea.AStarHeuristicProvider
 
initialize() - Method in class ch.sahits.game.openpatrician.engine.sea.BlockadeEngine
 
initialize() - Method in class ch.sahits.game.openpatrician.engine.sea.LocationTracker
 
initialize() - Method in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
initializeBlockadeAction(ICity) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
initializeCity(ICity) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
initializedGraph(GraphInitialisationComplete) - Method in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
initializeEventBus() - Method in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
 
initializeEventBus() - Method in class ch.sahits.game.openpatrician.engine.time.PeriodicalTimeUpdaterV2
 
initializeNewBlockade(ICity) - Method in class ch.sahits.game.openpatrician.engine.sea.BlockadeEngine
 
initializeShip() - Method in class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
 
initializeStrategyForVessel(IAIPlayer, INavigableVessel) - Method in class ch.sahits.game.openpatrician.engine.AIPlayerEngine
 
initializeTimer() - Method in class ch.sahits.game.openpatrician.engine.sea.SeafaringService
 
initialzeTradeCycle(IAIPlayer, INavigableVessel) - Method in class ch.sahits.game.openpatrician.engine.player.CheapProductionTradeStrategy
 
initialzeTradeCycle(IAIPlayer, INavigableVessel) - Method in class ch.sahits.game.openpatrician.engine.player.ProductionChainTradeStrategy
 
initialzeTradeCycle(IAIPlayer, INavigableVessel) - Method in class ch.sahits.game.openpatrician.engine.player.SupplyHometownAIStrategy
 
initialzeTradeCycle(IAIPlayer, INavigableVessel) - Method in class ch.sahits.game.openpatrician.engine.player.TradeRouteTradeStrategy
 
initImage() - Method in class ch.sahits.game.openpatrician.engine.sea.AStarGraphProvider
 
initImage() - Method in class ch.sahits.game.openpatrician.engine.sea.AStarHeuristicProvider
 
inject(IAIPlayer, INavigableVessel, ITradeStep) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
Add a new trade step to the begining of the list.
interactionFactory - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
interpolators - Variable in class ch.sahits.game.openpatrician.engine.sea.model.ShipPositionUpdateTask
 
interpolators - Variable in class ch.sahits.game.openpatrician.engine.sea.SeafaringService
 
interval - Variable in class ch.sahits.game.openpatrician.engine.time.IndividualPeriodicalUpdater.UpdateableObject
 
intervall - Variable in class ch.sahits.game.openpatrician.engine.time.PeriodicalTimeUpdaterV2
 
IPathConverter - Interface in ch.sahits.game.openpatrician.engine.sea
Converts a list of point into a shape that can be used as path.
isAnnotatedTyoe(ITavernPerson, Class) - Method in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
isHumanPlayer(ICitizen) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
isMatchingTradeStrategy(IAIPlayer) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
 
isNeeded(ICityProductionConsumptionKnowledge, IWare) - Method in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
Check if the ware is needed in a city.
isOnSea(Point2D) - Method in class ch.sahits.game.openpatrician.engine.sea.BaseGraphCalulationService
Verify that a location is actually on sea.
iterator() - Method in class ch.sahits.game.openpatrician.engine.sea.model.GraphAStar
Returns an iterator that can traverse the nodes of the graph

K

KontorTypeCityRepairStrategy - Class in ch.sahits.game.openpatrician.engine.player
Repair strategy defines only repairs in cities of kontor type Kontor.
KontorTypeCityRepairStrategy() - Constructor for class ch.sahits.game.openpatrician.engine.player.KontorTypeCityRepairStrategy
 

L

lastNameLoader - Static variable in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
lastNameLoader - Static variable in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
level - Variable in class ch.sahits.game.openpatrician.engine.event.task.RefitShipTask
 
leveySpecialTax(ICityHall, ISpecialTaxPetition) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
loadedGame(GameStateChange) - Method in class ch.sahits.game.openpatrician.engine.sea.model.ShipPositionUpdateTask
 
loanerEngine - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
loanerEngine - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
LoanerEngine - Class in ch.sahits.game.openpatrician.engine.land.city
Engine for controlling all the loaners.
LoanerEngine() - Constructor for class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
loaners - Variable in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
loaners - Variable in class ch.sahits.game.openpatrician.engine.player.TakeLoanLowMoneyLongestDurationStrategy
 
loanerService - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
loanerService - Variable in class ch.sahits.game.openpatrician.engine.player.TakeLoanLowMoneyLongestDurationStrategy
 
locale - Variable in class ch.sahits.game.openpatrician.engine.event.task.RefitShipTask
 
locale - Variable in class ch.sahits.game.openpatrician.engine.event.task.RepairTask
 
locale - Variable in class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
 
locale - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
locale - Variable in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
location - Variable in class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
 
locationDistance - Variable in class ch.sahits.game.openpatrician.engine.sea.MapLocationDetector
 
locationTracker - Variable in class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
 
LocationTracker - Class in ch.sahits.game.openpatrician.engine.sea
Component that helps split up the amount of ships into segements of the navigable map.
LocationTracker() - Constructor for class ch.sahits.game.openpatrician.engine.sea.LocationTracker
 
locationTracker - Variable in class ch.sahits.game.openpatrician.engine.sea.MapLocationDetector
 
locationTracker - Variable in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
lock - Static variable in class ch.sahits.game.openpatrician.engine.ClockTickTimer
Lock for guaranteeing thread safety
lock - Variable in class ch.sahits.game.openpatrician.engine.sea.AStarGraphProvider
 
lock - Variable in class ch.sahits.game.openpatrician.engine.sea.AStarHeuristicProvider
 
logger - Variable in class ch.sahits.game.openpatrician.engine.AIPlayerEngine
 
logger - Variable in class ch.sahits.game.openpatrician.engine.ClockTickTimer
 
logger - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
logger - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
logger - Variable in class ch.sahits.game.openpatrician.engine.land.city.internal.ElectionTask
 
logger - Variable in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
 
logger - Variable in class ch.sahits.game.openpatrician.engine.player.BaseRepairStrategy
 
logger - Variable in class ch.sahits.game.openpatrician.engine.player.CheapProductionTradeStrategy
 
logger - Variable in class ch.sahits.game.openpatrician.engine.player.CheckForRepairTradeStep
 
logger - Variable in class ch.sahits.game.openpatrician.engine.player.PlayerEngine
 
logger - Variable in class ch.sahits.game.openpatrician.engine.player.ProductionChainTradeStrategy
 
logger - Variable in class ch.sahits.game.openpatrician.engine.player.SellDumpTradeStep
 
logger - Variable in class ch.sahits.game.openpatrician.engine.player.SupplyHometownAIStrategy
 
logger - Variable in class ch.sahits.game.openpatrician.engine.player.TradeRouteTradeStrategy
 
logger - Variable in class ch.sahits.game.openpatrician.engine.player.TravelToTradeStep
 
logger - Variable in class ch.sahits.game.openpatrician.engine.sea.AStar
 
logger - Variable in class ch.sahits.game.openpatrician.engine.sea.AStarGraphProvider
 
logger - Variable in class ch.sahits.game.openpatrician.engine.sea.AStarHeuristicProvider
 
logger - Variable in class ch.sahits.game.openpatrician.engine.sea.BaseGraphCalulationService
 
logger - Variable in class ch.sahits.game.openpatrician.engine.sea.LocationTracker
 
LOGGER - Static variable in class ch.sahits.game.openpatrician.engine.sea.model.NodeData
 
logger - Variable in class ch.sahits.game.openpatrician.engine.sea.model.ShipPositionUpdateTask
 
logger - Variable in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
logger - Variable in class ch.sahits.game.openpatrician.engine.sea.SeafaringService
 
logger - Variable in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
logger - Variable in class ch.sahits.game.openpatrician.engine.time.PeriodicalTimeUpdaterV2
 
lowMoney - Variable in class ch.sahits.game.openpatrician.engine.player.CheapProductionTradeStrategy
 
lowMoney - Variable in class ch.sahits.game.openpatrician.engine.player.SupplyHometownAIStrategy
 
lowMoney - Variable in class ch.sahits.game.openpatrician.engine.player.TradeRouteTradeStrategy
 

M

map - Variable in class ch.sahits.game.openpatrician.engine.land.CaptainEngine
 
map - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
map - Variable in class ch.sahits.game.openpatrician.engine.land.city.OutriggerService
 
map - Variable in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
map - Variable in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
 
map - Variable in class ch.sahits.game.openpatrician.engine.player.PlayerEngine
 
map - Variable in class ch.sahits.game.openpatrician.engine.player.ProductionChainTradeStrategy
 
map - Variable in class ch.sahits.game.openpatrician.engine.player.ProductionConsumptionKnowledge
 
map - Variable in class ch.sahits.game.openpatrician.engine.player.ReputationEngine
 
map - Variable in class ch.sahits.game.openpatrician.engine.player.WestRepairStrategy
 
map - Variable in class ch.sahits.game.openpatrician.engine.sea.AStar
 
map - Variable in class ch.sahits.game.openpatrician.engine.sea.BaseGraphCalulationService
 
map - Variable in class ch.sahits.game.openpatrician.engine.sea.LocationTracker
 
map - Variable in class ch.sahits.game.openpatrician.engine.sea.MapLocationDetector
 
map - Variable in class ch.sahits.game.openpatrician.engine.sea.model.ShipPositionUpdateTask
 
map - Variable in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
mapDimension - Variable in class ch.sahits.game.openpatrician.engine.sea.LocationTracker
 
mapInitializedBean() - Method in class ch.sahits.game.openpatrician.spring.EngineConfiguration
 
MapLocationDetector - Class in ch.sahits.game.openpatrician.engine.sea
 
MapLocationDetector() - Constructor for class ch.sahits.game.openpatrician.engine.sea.MapLocationDetector
 
mapService - Variable in class ch.sahits.game.openpatrician.engine.AIPlayerEngine
 
mapService - Variable in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
 
mapService - Variable in class ch.sahits.game.openpatrician.engine.player.CheapProductionTradeStrategy
 
mapService - Variable in class ch.sahits.game.openpatrician.engine.player.ProductionChainTradeStrategy
 
mapService - Variable in class ch.sahits.game.openpatrician.engine.player.TradeRouteTradeStrategy
 
mapService - Variable in class ch.sahits.game.openpatrician.engine.sea.BlockadeEngine
 
mapService - Variable in class ch.sahits.game.openpatrician.engine.sea.model.ShipPositionUpdateTask
 
mapService - Variable in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
maxBuyPrice - Variable in class ch.sahits.game.openpatrician.engine.player.BuyTradeStep
 
maxFreeCaptains - Variable in class ch.sahits.game.openpatrician.engine.land.CaptainEngine
 
maxTimeInTown - Variable in class ch.sahits.game.openpatrician.engine.land.CaptainEngine
 
messagePropagator - Variable in class ch.sahits.game.openpatrician.engine.ClockTickTimer
 
messageSource - Variable in class ch.sahits.game.openpatrician.engine.event.task.RefitShipTask
 
messageSource - Variable in class ch.sahits.game.openpatrician.engine.event.task.RepairTask
 
messageSource - Variable in class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
 
messageSource - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
messageSource - Variable in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
modelTranslationService - Variable in class ch.sahits.game.openpatrician.engine.sea.BlockadeEngine
 
moveToNextStopEmpty(IAIPlayer, INavigableVessel, ICity) - Method in class ch.sahits.game.openpatrician.engine.player.CheapProductionTradeStrategy
 

N

NodeComparator() - Constructor for class ch.sahits.game.openpatrician.engine.sea.AStar.NodeComparator
 
NodeData<T> - Class in ch.sahits.game.openpatrician.engine.sea.model
NodeData stores all information of the node needed by the AStar algorithm.
NodeData(T, Map<T, Double>) - Constructor for class ch.sahits.game.openpatrician.engine.sea.model.NodeData
 
nodeId - Variable in class ch.sahits.game.openpatrician.engine.sea.model.NodeData
 
nodeIdNodeData - Variable in class ch.sahits.game.openpatrician.engine.sea.model.GraphAStar
 
notificationElectionWinner(ICityHall) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
Publish a message with the winner of the election.
numberOfTicks - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
Number of ticks that need to waited untill CityEngine.WARE_UPDATES_MINUTES

O

office - Variable in class ch.sahits.game.openpatrician.engine.land.city.internal.AddViolationTask
 
offices - Variable in class ch.sahits.game.openpatrician.engine.land.city.AutomaticTradingEngine
 
onFinish() - Method in class ch.sahits.game.openpatrician.engine.ClockTickTimer
 
OnlyTradingOfficeRepairStrategy - Class in ch.sahits.game.openpatrician.engine.player
Repair strategy for only repairing in town where the player has a trading office.
OnlyTradingOfficeRepairStrategy() - Constructor for class ch.sahits.game.openpatrician.engine.player.OnlyTradingOfficeRepairStrategy
 
onSea - Variable in class ch.sahits.game.openpatrician.engine.sea.BaseGraphCalulationService
 
onTick() - Method in class ch.sahits.game.openpatrician.engine.ClockTickTimer
 
oprnd - Variable in class ch.sahits.game.openpatrician.engine.land.city.internal.ElectionTask
 
orderShipBuilding(IShipyard, EShipType, IPlayer) - Method in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
Order a ship of given type to be build.
OutriggerService - Class in ch.sahits.game.openpatrician.engine.land.city
Service calculationg various values around a cities outrigger.
OutriggerService() - Constructor for class ch.sahits.game.openpatrician.engine.land.city.OutriggerService
 
owner - Variable in class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
 

P

paralleizationExecutor - Variable in class ch.sahits.game.openpatrician.engine.sea.AStar
 
paralleizationExecutor() - Method in class ch.sahits.game.openpatrician.spring.EngineConfiguration
 
path(Map<Point2D, Point2D>, Point2D) - Method in class ch.sahits.game.openpatrician.engine.sea.AStar
 
pathCache - Variable in class ch.sahits.game.openpatrician.engine.sea.AStar
Caching the paths with destination (outer key) and source (inner key)
pathConverter - Variable in class ch.sahits.game.openpatrician.engine.sea.model.ShipPositionUpdateTask
 
pathConverter - Variable in class ch.sahits.game.openpatrician.engine.sea.SeafaringService
 
pause(PauseGame) - Method in class ch.sahits.game.openpatrician.engine.sea.model.ShipPositionUpdateTask
 
pausedTimeStamp - Variable in class ch.sahits.game.openpatrician.engine.sea.model.ShipPositionUpdateTask
 
peopleFactory - Variable in class ch.sahits.game.openpatrician.engine.land.CaptainEngine
 
peopleFactory - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
peopleFactory - Variable in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
periodicalEndOfDayUpdater() - Method in class ch.sahits.game.openpatrician.spring.EngineConfiguration
Create a periodical updater for end of day which is a singleton.
periodicalEndOfMonthUpdater() - Method in class ch.sahits.game.openpatrician.spring.EngineConfiguration
Create a periodical updater for end of month which is a singleton.
periodicalEndOfWeekUpdater() - Method in class ch.sahits.game.openpatrician.spring.EngineConfiguration
Create a periodical updater for end of week which is a singleton.
periodicalEndOfYearUpdater() - Method in class ch.sahits.game.openpatrician.spring.EngineConfiguration
Create a periodical updater for end of year which is a singleton.
PeriodicalTimeUpdaterV2 - Class in ch.sahits.game.openpatrician.engine.time
The periodical time updater encapsules clock ticks of instances that are interested in notification but only on a periodical level.
PeriodicalTimeUpdaterV2(EUpdateIntervalRegistration) - Constructor for class ch.sahits.game.openpatrician.engine.time.PeriodicalTimeUpdaterV2
 
periodicalWeeklyUpdater() - Method in class ch.sahits.game.openpatrician.spring.EngineConfiguration
Create a periodical updater for weekly updates which is a singleton.
pirate - Variable in class ch.sahits.game.openpatrician.engine.event.task.RepairPirateShipTask
 
PirateEngine - Class in ch.sahits.game.openpatrician.engine.sea
Engine governing all pirates.
PirateEngine() - Constructor for class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
pirateFirstNameLoader - Static variable in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
pirateLastNameLoader - Static variable in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
piratesState - Variable in class ch.sahits.game.openpatrician.engine.player.ReputationEngine
 
piratesState - Variable in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
piratesState - Variable in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
pirateState - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
pirateState - Variable in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
player - Variable in class ch.sahits.game.openpatrician.engine.player.TakeLoanTradeStep
 
playerEngine - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
PlayerEngine - Class in ch.sahits.game.openpatrician.engine.player
Base engine representing a player.
PlayerEngine() - Constructor for class ch.sahits.game.openpatrician.engine.player.PlayerEngine
 
players - Variable in class ch.sahits.game.openpatrician.engine.AIPlayerEngine
 
players - Variable in class ch.sahits.game.openpatrician.engine.player.HumanPlayerEngine
 
players - Variable in class ch.sahits.game.openpatrician.engine.player.PlayerEngine
 
players - Variable in class ch.sahits.game.openpatrician.engine.sea.BlockadeEngine
 
players - Variable in class ch.sahits.game.openpatrician.engine.sea.LocationTracker
 
pointInterner - Variable in class ch.sahits.game.openpatrician.engine.sea.BaseGraphCalulationService
 
pointInterner - Variable in class ch.sahits.game.openpatrician.engine.sea.LocationTracker
 
pointService - Variable in class ch.sahits.game.openpatrician.engine.sea.model.ShipPositionUpdateTask
 
postAttackOutcome(List<IShip>, List<IShip>, List<IShip>, List<IShip>, INavigableVessel, INavigableVessel) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
postMessageBlockadeFight(List<IShip>, List<IShip>, List<IShip>, List<IShip>, List<IShip>, List<IShip>, IShipOwner, IShipOwner) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
postMessageDebtNotFulfillable(IDebt) - Method in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
postMessageStandardFight(List<IShip>, List<IShip>, List<IShip>, List<IShip>, List<IShip>, List<IShip>, IShipOwner, IShipOwner) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
produceWare - Variable in class ch.sahits.game.openpatrician.engine.player.ProductionChainMissionData
 
productionAmounts - Variable in class ch.sahits.game.openpatrician.engine.player.CityProductionConsumptionKnowledge
 
productionAndConsumption - Variable in class ch.sahits.game.openpatrician.engine.player.ProductionConsumptionKnowledge
 
productionAndConsumptionService - Variable in class ch.sahits.game.openpatrician.engine.player.ProductionConsumptionKnowledge
 
productionAndConsumtionService - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
productionChain - Variable in class ch.sahits.game.openpatrician.engine.player.ProductionChainTradeStrategy
 
ProductionChainMissionData - Class in ch.sahits.game.openpatrician.engine.player
 
ProductionChainMissionData() - Constructor for class ch.sahits.game.openpatrician.engine.player.ProductionChainMissionData
 
ProductionChainTradeStrategy - Class in ch.sahits.game.openpatrician.engine.player
This trade strategy focuses on a production chain with supplying wares for the production and selling the produced wares to a different city.
ProductionChainTradeStrategy() - Constructor for class ch.sahits.game.openpatrician.engine.player.ProductionChainTradeStrategy
 
ProductionConsumptionKnowledge - Class in ch.sahits.game.openpatrician.engine.player
Implementation of the knowlege of all cities
ProductionConsumptionKnowledge() - Constructor for class ch.sahits.game.openpatrician.engine.player.ProductionConsumptionKnowledge
 
productionLocation - Variable in class ch.sahits.game.openpatrician.engine.player.ProductionChainMissionData
 
propertyInitializer - Variable in class ch.sahits.game.openpatrician.engine.player.PlayerEngine
 
propertyInitializer - Variable in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 

R

redistributeShips(List<GenericPair<List<IShip>, List<IShip>>>, boolean, List<IShip>) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
reduceLinePoints(List<Point2D>) - Method in interface ch.sahits.game.openpatrician.engine.sea.IPathConverter
Reduce the number of points that are needed to describe the path.
refit(IShipyard, IShip, EShipUpgrade, ICityPlayerProxyJFX) - Method in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
Refit the ship to the new level.
RefitShipTask - Class in ch.sahits.game.openpatrician.engine.event.task
 
RefitShipTask(DateTime, IShip, EShipUpgrade, ICityPlayerProxyJFX) - Constructor for class ch.sahits.game.openpatrician.engine.event.task.RefitShipTask
 
register() - Method in class ch.sahits.game.openpatrician.engine.ClockTickTimer
 
register() - Method in class ch.sahits.game.openpatrician.engine.sea.model.ShipPositionUpdateTask
 
register(Object, Object, EUpdateIntervalRegistration) - Method in interface ch.sahits.game.openpatrician.engine.time.IIndividualPeriodicalUpdater
Register a new object with the updater.
register() - Method in class ch.sahits.game.openpatrician.engine.time.IndividualPeriodicalUpdater
 
register(Object, Object, EUpdateIntervalRegistration) - Method in class ch.sahits.game.openpatrician.engine.time.IndividualPeriodicalUpdater
 
registeredUpdatableObjects - Variable in class ch.sahits.game.openpatrician.engine.time.IndividualPeriodicalUpdater
Map storing the registered objects together with their next updatable time.
regroup(List<IShip>, IShipGroup) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
Create a group of ships from the list of ships.
regroup(List<IShip>, IConvoy) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
Update the convoy with the ships of the list.
remove(INavigableVessel) - Method in class ch.sahits.game.openpatrician.engine.sea.LocationTracker
 
removeDefeatedShips(IConvoy, int) - Method in class ch.sahits.game.openpatrician.engine.sea.MapLocationDetector
 
removeFromFleet(IShip, IShipOwner) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
repair(IShipyard, IShip, ICityPlayerProxyJFX) - Method in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
Order the repair of the ship.
repair(IShipyard, IShipGroup) - Method in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
Order the repair of a group of pirate ship.
repair(INavigableVessel, ICity) - Method in class ch.sahits.game.openpatrician.engine.player.BaseRepairStrategy
 
repairAIShip(IShipyard, IShip) - Method in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
Order the repair of a single AI owned ship.
repairPirateShip(IShipyard, IShip) - Method in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
Order the repair of a single pirate ship.
RepairPirateShipTask - Class in ch.sahits.game.openpatrician.engine.event.task
Special implementation for the repair task for pirate ships, which do not have a player as owner and may be ordered to repair as a whole group
RepairPirateShipTask(DateTime, INavigableVessel, ISeaPirate) - Constructor for class ch.sahits.game.openpatrician.engine.event.task.RepairPirateShipTask
 
repairStrategies - Static variable in class ch.sahits.game.openpatrician.engine.player.DefaultStrategyProvider
 
RepairTask - Class in ch.sahits.game.openpatrician.engine.event.task
 
RepairTask(DateTime, IShip, ICityPlayerProxyJFX) - Constructor for class ch.sahits.game.openpatrician.engine.event.task.RepairTask
 
repCalc - Variable in class ch.sahits.game.openpatrician.engine.player.PlayerEngine
 
ReputationCalculator - Class in ch.sahits.game.openpatrician.engine.land.city
Calculator for a players reputation
ReputationCalculator() - Constructor for class ch.sahits.game.openpatrician.engine.land.city.ReputationCalculator
 
ReputationEngine - Class in ch.sahits.game.openpatrician.engine.player
Engine to handle the reputation changes.
ReputationEngine() - Constructor for class ch.sahits.game.openpatrician.engine.player.ReputationEngine
 
requiredWares - Variable in class ch.sahits.game.openpatrician.engine.player.SupplyHomeTownMissionData
 
result - Variable in class ch.sahits.game.openpatrician.engine.land.city.internal.ElectionTask
 
result - Variable in class ch.sahits.game.openpatrician.engine.land.city.internal.VoteTask
 
resume(ResumeGame) - Method in class ch.sahits.game.openpatrician.engine.sea.model.ShipPositionUpdateTask
 
rnd - Variable in class ch.sahits.game.openpatrician.engine.land.CaptainEngine
 
rnd - Variable in class ch.sahits.game.openpatrician.engine.land.city.ChurchEngine
 
rnd - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
rnd - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
rnd - Variable in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
rnd - Variable in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
 
rnd - Variable in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
rnd - Variable in class ch.sahits.game.openpatrician.engine.sea.BlockadeEngine
 
rnd - Variable in class ch.sahits.game.openpatrician.engine.sea.MapLocationDetector
 
rnd - Variable in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
rnd - Variable in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
run() - Method in class ch.sahits.game.openpatrician.engine.event.task.AIRepairTask
 
run() - Method in class ch.sahits.game.openpatrician.engine.event.task.RefitShipTask
 
run() - Method in class ch.sahits.game.openpatrician.engine.event.task.RepairPirateShipTask
 
run() - Method in class ch.sahits.game.openpatrician.engine.event.task.RepairTask
 
run() - Method in class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
 
run() - Method in class ch.sahits.game.openpatrician.engine.land.city.internal.AddViolationTask
 
run() - Method in class ch.sahits.game.openpatrician.engine.land.city.internal.CityWallBuildingTask
 
run() - Method in class ch.sahits.game.openpatrician.engine.land.city.internal.CityWallMaterialBuyingTask
Check the amount of bricks required and if the price is not too heigh buy it.
run() - Method in class ch.sahits.game.openpatrician.engine.land.city.internal.ElectionTask
 
run() - Method in class ch.sahits.game.openpatrician.engine.land.city.internal.VoteTask
 
runAttackMove(List<GenericPair<List<IShip>, List<IShip>>>, List<IShip>, List<IShip>, List<IShip>, List<IShip>, Iterator<GenericPair<List<IShip>, List<IShip>>>, GenericPair<List<IShip>, List<IShip>>, boolean, SeaFightContext) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 

S

schedulableServerThreadPool - Variable in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
schedulableServerThreadPool - Variable in class ch.sahits.game.openpatrician.engine.sea.SeafaringService
 
schedulableServerThreadPool() - Method in class ch.sahits.game.openpatrician.spring.EngineConfiguration
 
seafaringService - Variable in class ch.sahits.game.openpatrician.engine.AIPlayerEngine
 
seafaringService - Variable in class ch.sahits.game.openpatrician.engine.player.TravelToTradeStep
 
seafaringService - Variable in class ch.sahits.game.openpatrician.engine.sea.BlockadeEngine
 
seafaringService - Variable in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
SeafaringService - Class in ch.sahits.game.openpatrician.engine.sea
Service keeping track of all the ships that are traveling.
SeafaringService() - Constructor for class ch.sahits.game.openpatrician.engine.sea.SeafaringService
 
SeaFightContext - Class in ch.sahits.game.openpatrician.engine.sea
Context class for the sea fight service.
SeaFightContext(ESeaFightType) - Constructor for class ch.sahits.game.openpatrician.engine.sea.SeaFightContext
 
seafightService - Variable in class ch.sahits.game.openpatrician.engine.sea.BlockadeEngine
 
seaFightService - Variable in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
SeaFightService - Class in ch.sahits.game.openpatrician.engine.sea
The sea fight service helps calculating the winner of a sea fight based on two sets of ships.
SeaFightService() - Constructor for class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
segmentEdgeHeigth - Variable in class ch.sahits.game.openpatrician.engine.sea.LocationTracker
 
segmentEdgeWidth - Variable in class ch.sahits.game.openpatrician.engine.sea.LocationTracker
 
segments - Variable in class ch.sahits.game.openpatrician.engine.sea.LocationTracker
 
selectDestination(ISeaPirate) - Method in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
Select a new destination for the pirate.
selectShip(IAIPlayer) - Method in class ch.sahits.game.openpatrician.engine.player.BlockadeStrategy
 
selectTradeRoute(ICity) - Method in class ch.sahits.game.openpatrician.engine.player.TradeRouteTradeStrategy
 
sellAndBuy(ITradingOffice) - Method in class ch.sahits.game.openpatrician.engine.land.city.AutomaticTradingEngine
Execute the automatic buying and selling of the automated trading.
SellDumpTradeStep - Class in ch.sahits.game.openpatrician.engine.player
Implements the sell step for selling a single ware irrelevant of the price.
SellDumpTradeStep() - Constructor for class ch.sahits.game.openpatrician.engine.player.SellDumpTradeStep
 
SellTradeStep - Class in ch.sahits.game.openpatrician.engine.player
Implements the sell step for selling a single ware up to a minimum sell price
SellTradeStep() - Constructor for class ch.sahits.game.openpatrician.engine.player.SellTradeStep
 
sendForRepairs(INavigableVessel) - Method in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
Send a vessel to be repaired.
serverEventBus - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
ServerSideTaskFactory - Class in ch.sahits.game.openpatrician.engine.event.task
 
ServerSideTaskFactory() - Constructor for class ch.sahits.game.openpatrician.engine.event.task.ServerSideTaskFactory
 
serverThreadPool - Variable in class ch.sahits.game.openpatrician.engine.sea.AStar
 
serverThreadPool - Variable in class ch.sahits.game.openpatrician.engine.sea.AStarGraphProvider
 
serverThreadPool - Variable in class ch.sahits.game.openpatrician.engine.sea.AStarHeuristicProvider
 
setApplicationContext(ApplicationContext) - Method in enum ch.sahits.game.openpatrician.engine.player.EAIRepairStrategy
 
setApplicationContext(ApplicationContext) - Method in enum ch.sahits.game.openpatrician.engine.player.EAITradeStrategyType
 
setApplicationContext(ApplicationContext) - Method in enum ch.sahits.game.openpatrician.engine.player.ETakeLoanStrategyType
 
setG(T, double) - Method in class ch.sahits.game.openpatrician.engine.sea.model.NodeData
 
ship - Variable in class ch.sahits.game.openpatrician.engine.event.task.AIRepairTask
 
ship - Variable in class ch.sahits.game.openpatrician.engine.event.task.RefitShipTask
 
ship - Variable in class ch.sahits.game.openpatrician.engine.event.task.RepairTask
 
ship - Variable in class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
 
ship - Variable in class ch.sahits.game.openpatrician.engine.player.HireSailorsStep
 
ShipBuildTask - Class in ch.sahits.game.openpatrician.engine.event.task
 
ShipBuildTask(DateTime, EShipType, IPlayer, Point2D) - Constructor for class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
 
shipFactory - Variable in class ch.sahits.game.openpatrician.engine.sea.BlockadeEngine
 
shipFactory - Variable in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
shipFactory - Variable in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
shipLoader - Static variable in class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
 
shipLoader - Static variable in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
ShipPositionUpdateTask - Class in ch.sahits.game.openpatrician.engine.sea.model
Task to periodically update the ships positions.
ShipPositionUpdateTask() - Constructor for class ch.sahits.game.openpatrician.engine.sea.model.ShipPositionUpdateTask
 
shipService - Variable in class ch.sahits.game.openpatrician.engine.player.BlockadeStrategy
 
shipService - Variable in class ch.sahits.game.openpatrician.engine.player.CheapProductionTradeStrategy
 
shipService - Variable in class ch.sahits.game.openpatrician.engine.player.CheckForRepairTradeStep
 
shipService - Variable in class ch.sahits.game.openpatrician.engine.player.HireSailorsStep
 
shipService - Variable in class ch.sahits.game.openpatrician.engine.player.ProductionChainTradeStrategy
 
shipService - Variable in class ch.sahits.game.openpatrician.engine.player.SupplyHometownAIStrategy
 
shipService - Variable in class ch.sahits.game.openpatrician.engine.player.TradeRouteTradeStrategy
 
shipService - Variable in class ch.sahits.game.openpatrician.engine.sea.SeafaringService
 
shipStrenghtService - Variable in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
shipsUpdated - Variable in class ch.sahits.game.openpatrician.engine.sea.MapLocationDetector
 
shipUpdateTask - Variable in class ch.sahits.game.openpatrician.engine.sea.SeafaringService
 
shipUtility - Variable in class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
 
shipUtility - Variable in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
 
shipWeaponLocationFactory - Variable in class ch.sahits.game.openpatrician.engine.event.task.RefitShipTask
 
shipyardEngine - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
ShipyardEngine - Class in ch.sahits.game.openpatrician.engine.land.city
The shipyard engine handled the activities on a shipyard.
ShipyardEngine() - Constructor for class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
 
shipyardEngine - Variable in class ch.sahits.game.openpatrician.engine.player.BaseRepairStrategy
 
shipyardEngine - Variable in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
shouldRepair(INavigableVessel, ICity) - Method in class ch.sahits.game.openpatrician.engine.player.EightyPercentRepairStrategy
 
shouldRepair(INavigableVessel, ICity) - Method in class ch.sahits.game.openpatrician.engine.player.HometownRepairStrategy
Only repair the ship in the hometown unless it is realy badly damaged.
shouldRepair(INavigableVessel, ICity) - Method in class ch.sahits.game.openpatrician.engine.player.KontorTypeCityRepairStrategy
Unless the damage is quite heavy repares are only conducted in cities of type Kontor.
shouldRepair(INavigableVessel, ICity) - Method in class ch.sahits.game.openpatrician.engine.player.OnlyTradingOfficeRepairStrategy
Unless the damage is heave only in towns where hte vessel owner has a trading office repairs should be conducted.
shouldRepair(INavigableVessel, ICity) - Method in class ch.sahits.game.openpatrician.engine.player.WestRepairStrategy
Should repair only if deamage is heavy or if the ship is in a city in the west half of the map.
shouldReturnToHometown(IAIPlayer, INavigableVessel) - Method in class ch.sahits.game.openpatrician.engine.player.SupplyHometownAIStrategy
Check weather the vessel should return to the hometown
shouldTakeLoan(IAIPlayer) - Method in class ch.sahits.game.openpatrician.engine.player.TakeLoanLowMoneyLongestDurationStrategy
 
size() - Method in class ch.sahits.game.openpatrician.engine.sea.model.GraphAStar
 
start(IGame) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
Start the engine.
STARTED - Static variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
State indicating that the engine is properly initialized
startNewGameBean() - Method in class ch.sahits.game.openpatrician.spring.EngineConfiguration
 
state - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
State of the engine
stateFactory - Variable in class ch.sahits.game.openpatrician.engine.land.city.ChurchEngine
 
stateFactory - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
stateFactory - Variable in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
STOPPED - Static variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
State indicating that the engine is not ready
storedAmounts - Variable in class ch.sahits.game.openpatrician.engine.player.CityProductionConsumptionKnowledge
 
strategyClass - Variable in enum ch.sahits.game.openpatrician.engine.player.EAIRepairStrategy
 
strategyClass - Variable in enum ch.sahits.game.openpatrician.engine.player.EAITradeStrategyType
 
strategyClass - Variable in enum ch.sahits.game.openpatrician.engine.player.ETakeLoanStrategyType
 
SupplyHometownAIStrategy - Class in ch.sahits.game.openpatrician.engine.player
AI strategy for trading with the aim to supply the players home town.
SupplyHometownAIStrategy() - Constructor for class ch.sahits.game.openpatrician.engine.player.SupplyHometownAIStrategy
 
SupplyHomeTownMissionData - Class in ch.sahits.game.openpatrician.engine.player
The mission data for the SupplyHometownAIStrategy stores the wares that should be delivered to the hometown in the current cyle
SupplyHomeTownMissionData() - Constructor for class ch.sahits.game.openpatrician.engine.player.SupplyHomeTownMissionData
 
syncServerClientEventBus - Variable in class ch.sahits.game.openpatrician.engine.sea.LocationTracker
 
syncServerClientEventBus - Variable in class ch.sahits.game.openpatrician.engine.sea.MapLocationDetector
 
syncServerClientEventBus - Variable in class ch.sahits.game.openpatrician.engine.sea.model.ShipPositionUpdateTask
 
syncServerClientEventBus - Variable in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 

T

takeLoan(IAIPlayer, ICity) - Method in class ch.sahits.game.openpatrician.engine.player.TakeLoanLowMoneyLongestDurationStrategy
 
TakeLoanLowMoneyLongestDurationStrategy - Class in ch.sahits.game.openpatrician.engine.player
Strategy for loan taking.
TakeLoanLowMoneyLongestDurationStrategy() - Constructor for class ch.sahits.game.openpatrician.engine.player.TakeLoanLowMoneyLongestDurationStrategy
 
takeLoanStrategies - Static variable in class ch.sahits.game.openpatrician.engine.player.DefaultStrategyProvider
 
TakeLoanTradeStep - Class in ch.sahits.game.openpatrician.engine.player
Implements the trade step for taking a loan.
TakeLoanTradeStep() - Constructor for class ch.sahits.game.openpatrician.engine.player.TakeLoanTradeStep
 
takenTasks - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
target - Variable in class ch.sahits.game.openpatrician.engine.time.IndividualPeriodicalUpdater.UpdateableObject
 
taskFactory - Variable in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
 
taskList - Variable in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
 
taskList - Variable in class ch.sahits.game.openpatrician.engine.player.HireSailorsStep
 
taskList - Variable in class ch.sahits.game.openpatrician.engine.player.TravelToTradeStep
 
tavernEngine - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
TavernEngine - Class in ch.sahits.game.openpatrician.engine.land.city
Every city has a corresponding tavern engine.
TavernEngine() - Constructor for class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
threadExecutor - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
tick() - Method in class ch.sahits.game.openpatrician.engine.ClockTickTimer
Update the time by one tick.
tickCounter - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
Counter that counts the ticks
tickInterval - Variable in class ch.sahits.game.openpatrician.engine.time.PeriodicalTimeUpdaterV2
Period of the clock ticking
timedTaskListener - Variable in class ch.sahits.game.openpatrician.engine.land.city.ChurchEngine
 
timedTaskListener - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
timedTaskListener - Variable in class ch.sahits.game.openpatrician.engine.land.city.internal.CityWallMaterialBuyingTask
 
timePassed - Variable in class ch.sahits.game.openpatrician.engine.time.PeriodicalTimeUpdaterV2
Time passed since the start of the period
timerEventBus - Variable in class ch.sahits.game.openpatrician.engine.ClockTickTimer
 
timerEventBus - Variable in class ch.sahits.game.openpatrician.engine.land.CaptainEngine
 
timerEventBus - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
timerEventBus - Variable in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
timerEventBus - Variable in class ch.sahits.game.openpatrician.engine.sea.MapLocationDetector
 
timerEventBus - Variable in class ch.sahits.game.openpatrician.engine.sea.model.ShipPositionUpdateTask
 
timerEventBus - Variable in class ch.sahits.game.openpatrician.engine.time.IndividualPeriodicalUpdater
 
timerEventBus - Variable in class ch.sahits.game.openpatrician.engine.time.PeriodicalTimeUpdaterV2
 
toString() - Method in class ch.sahits.game.openpatrician.engine.player.AggregatedBuyTradeStep
 
toString() - Method in class ch.sahits.game.openpatrician.engine.player.AggregatesDumpTradeStep
 
toString() - Method in class ch.sahits.game.openpatrician.engine.player.AggregatesSellTradeStep
 
toString() - Method in class ch.sahits.game.openpatrician.engine.player.CheckForRepairTradeStep
 
toString() - Method in class ch.sahits.game.openpatrician.engine.player.HireSailorsStep
 
toString() - Method in class ch.sahits.game.openpatrician.engine.player.TravelToTradeStep
 
tradeRoute - Variable in class ch.sahits.game.openpatrician.engine.player.TradeRouteMissionData
 
TradeRouteMissionData - Class in ch.sahits.game.openpatrician.engine.player
Mission data for the trade route strategy storing the current route.
TradeRouteMissionData() - Constructor for class ch.sahits.game.openpatrician.engine.player.TradeRouteMissionData
 
TradeRouteTradeStrategy - Class in ch.sahits.game.openpatrician.engine.player
Trade strategy that is based on a preset trade route
TradeRouteTradeStrategy() - Constructor for class ch.sahits.game.openpatrician.engine.player.TradeRouteTradeStrategy
 
tradeSteps - Variable in class ch.sahits.game.openpatrician.engine.player.AggregatedBuyTradeStep
 
tradeSteps - Variable in class ch.sahits.game.openpatrician.engine.player.AggregatesDumpTradeStep
 
tradeSteps - Variable in class ch.sahits.game.openpatrician.engine.player.AggregatesSellTradeStep
 
tradeStrategies - Static variable in class ch.sahits.game.openpatrician.engine.player.DefaultStrategyProvider
 
tradeStrategyType - Variable in class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy
 
travelBetweenCities(INavigableVessel, ICity) - Method in class ch.sahits.game.openpatrician.engine.sea.SeafaringService
Travel from one city to another.
travelFromCity(INavigableVessel, Point2D) - Method in class ch.sahits.game.openpatrician.engine.sea.SeafaringService
Travel from a city to a place that is not a city.
travelNotBetweenCities(INavigableVessel, Point2D) - Method in class ch.sahits.game.openpatrician.engine.sea.SeafaringService
Travel between two locations, where neither is a city.
travelTo(INavigableVessel, Point2D) - Method in class ch.sahits.game.openpatrician.engine.sea.SeafaringService
Send a ship or convoy on its way to a destination.
travelToCity(INavigableVessel, ICity) - Method in class ch.sahits.game.openpatrician.engine.sea.SeafaringService
Travel from a location that is not a city to a city.
TravelToTradeStep - Class in ch.sahits.game.openpatrician.engine.player
Trade ste for traveling to a new location.
TravelToTradeStep() - Constructor for class ch.sahits.game.openpatrician.engine.player.TravelToTradeStep
 
type - Variable in class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
 
type - Variable in class ch.sahits.game.openpatrician.engine.sea.SeaFightContext
 

U

unregister() - Method in class ch.sahits.game.openpatrician.engine.ClockTickTimer
 
unregister() - Method in class ch.sahits.game.openpatrician.engine.land.CaptainEngine
 
unregister() - Method in class ch.sahits.game.openpatrician.engine.land.city.AutomaticTradingEngine
 
unregister() - Method in class ch.sahits.game.openpatrician.engine.land.city.ChurchEngine
 
unregister() - Method in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
unregister() - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
unregister() - Method in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
unregister() - Method in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
 
unregister() - Method in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
unregister() - Method in class ch.sahits.game.openpatrician.engine.player.HumanPlayerEngine
 
unregister() - Method in class ch.sahits.game.openpatrician.engine.player.PlayerEngine
 
unregister() - Method in class ch.sahits.game.openpatrician.engine.sea.LocationTracker
 
unregister() - Method in class ch.sahits.game.openpatrician.engine.sea.MapLocationDetector
 
unregister() - Method in class ch.sahits.game.openpatrician.engine.sea.model.ShipPositionUpdateTask
 
unregister(Object) - Method in interface ch.sahits.game.openpatrician.engine.time.IIndividualPeriodicalUpdater
Unregister a target from further notifications.
unregister() - Method in class ch.sahits.game.openpatrician.engine.time.IndividualPeriodicalUpdater
 
unregister(Object) - Method in class ch.sahits.game.openpatrician.engine.time.IndividualPeriodicalUpdater
 
unregisterFromEventBus() - Method in class ch.sahits.game.openpatrician.engine.time.PeriodicalTimeUpdaterV2
 
UpdateableObject() - Constructor for class ch.sahits.game.openpatrician.engine.time.IndividualPeriodicalUpdater.UpdateableObject
 
updateAldermanTasks(IAldermanOffice) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
updateCapturedShip(List<IShip>, List<IShip>, boolean, IShip, IShip, SeaFightContext) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
updateCapturedShipInternal(List<IShip>, List<IShip>, boolean, IShip, IShip, SeaFightContext) - Method in class ch.sahits.game.openpatrician.engine.sea.SeaFightService
 
updateCityRelatedPersons(ITavernPerson, ICity) - Method in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
updateCompanyValue() - Method in class ch.sahits.game.openpatrician.engine.player.PlayerEngine
 
updateConsumption(IWare, int) - Method in class ch.sahits.game.openpatrician.engine.player.CityProductionConsumptionKnowledge
Update the knowledge about the weekly consumed amounts.
updateInterval - Variable in class ch.sahits.game.openpatrician.engine.time.PeriodicalTimeUpdaterV2
Period that the listener should be notified
updateKnowledge(ICity) - Method in class ch.sahits.game.openpatrician.engine.player.ProductionConsumptionKnowledge
 
updatePersons(ITavernPerson) - Method in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
updateProduction(IWare, int) - Method in class ch.sahits.game.openpatrician.engine.player.CityProductionConsumptionKnowledge
Update the knowlege about the weekly produced amounts.
updater - Variable in class ch.sahits.game.openpatrician.engine.land.city.AutomaticTradingEngine
 
updateReputationDueToPirateDefeat(INavigableVessel, INavigableVessel) - Method in class ch.sahits.game.openpatrician.engine.player.ReputationEngine
 
updateSegmentSize(int) - Method in class ch.sahits.game.openpatrician.engine.sea.LocationTracker
 
updateShipDamage(VesselPositionUpdateData, INavigableVessel, double) - Method in class ch.sahits.game.openpatrician.engine.sea.model.ShipPositionUpdateTask
Handle the update of damage to the ship.
updateStored(IWare, int) - Method in class ch.sahits.game.openpatrician.engine.player.CityProductionConsumptionKnowledge
Update the knowledge about the stored amounts.
updateTick(ClockTickIntervalChange) - Method in class ch.sahits.game.openpatrician.engine.time.PeriodicalTimeUpdaterV2
 
updateTreasuryWeekly(ICityHall) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
Update the treasury.
updateWareNeedOrSurplus(int, IInformant) - Method in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 

V

valueOf(String) - Static method in enum ch.sahits.game.openpatrician.engine.player.EAIRepairStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.openpatrician.engine.player.EAITradeStrategyType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.openpatrician.engine.player.ETakeLoanStrategyType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.openpatrician.engine.sea.ESeaFightType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.openpatrician.engine.time.EUpdateIntervalRegistration
Returns the enum constant of this type with the specified name.
values() - Static method in enum ch.sahits.game.openpatrician.engine.player.EAIRepairStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.sahits.game.openpatrician.engine.player.EAITradeStrategyType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.sahits.game.openpatrician.engine.player.ETakeLoanStrategyType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.sahits.game.openpatrician.engine.sea.ESeaFightType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.sahits.game.openpatrician.engine.time.EUpdateIntervalRegistration
Returns an array containing the constants of this enum type, in the order they are declared.
vessel - Variable in class ch.sahits.game.openpatrician.engine.event.task.RepairPirateShipTask
 
vessel - Variable in class ch.sahits.game.openpatrician.engine.player.AggregatedBuyTradeStep
 
vessel - Variable in class ch.sahits.game.openpatrician.engine.player.AggregatesDumpTradeStep
 
vessel - Variable in class ch.sahits.game.openpatrician.engine.player.AggregatesSellTradeStep
 
vessel - Variable in class ch.sahits.game.openpatrician.engine.player.BuyTradeStep
 
vessel - Variable in class ch.sahits.game.openpatrician.engine.player.CheckForRepairTradeStep
 
vessel - Variable in class ch.sahits.game.openpatrician.engine.player.SellDumpTradeStep
 
vessel - Variable in class ch.sahits.game.openpatrician.engine.player.SellTradeStep
 
vessel - Variable in class ch.sahits.game.openpatrician.engine.player.TravelToTradeStep
 
vessels - Variable in class ch.sahits.game.openpatrician.engine.AIPlayerEngine
 
vessels - Variable in class ch.sahits.game.openpatrician.engine.player.PlayerEngine
 
violation - Variable in class ch.sahits.game.openpatrician.engine.land.city.internal.AddViolationTask
 
voteOnPetition(ICityHall) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
voteOnViolation(ICityHall) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
VoteTask - Class in ch.sahits.game.openpatrician.engine.land.city.internal
Voting task that is timed.
VoteTask(Ballot, DateTime, boolean) - Constructor for class ch.sahits.game.openpatrician.engine.land.city.internal.VoteTask
 
voteYes - Variable in class ch.sahits.game.openpatrician.engine.land.city.internal.VoteTask
 

W

ware - Variable in class ch.sahits.game.openpatrician.engine.player.BuyTradeStep
 
ware - Variable in class ch.sahits.game.openpatrician.engine.player.SellDumpTradeStep
 
ware - Variable in class ch.sahits.game.openpatrician.engine.player.SellTradeStep
 
WARE_UPDATES_MINUTES - Static variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
Update the ware consumed and produced every 12h
WareNeedComparator() - Constructor for class ch.sahits.game.openpatrician.engine.player.BasePlayerTradeStrategy.WareNeedComparator
 
weeklyHeadTaxMiddleClass - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
weeklyHeadTaxPoor - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
weeklyHeadTaxRich - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityHallEngine
 
WestRepairStrategy - Class in ch.sahits.game.openpatrician.engine.player
Repair strategy to only repair in towns in the western half of the map.
WestRepairStrategy() - Constructor for class ch.sahits.game.openpatrician.engine.player.WestRepairStrategy
 
width - Variable in class ch.sahits.game.openpatrician.engine.sea.AStarGraphProvider
 
width - Variable in class ch.sahits.game.openpatrician.engine.sea.AStarHeuristicProvider
 

X

x - Variable in class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
 
A B C D E F G H I K L M N O P R S T U V W X 
Skip navigation links

Copyright © 2011-2016 Sahits GmbH. All Rights Reserved.