A B C D E F G H I J L M N O P R S T U 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
 
addCity(ICity) - Method in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
Add a new city to the engine
addNewLoaner(ICity) - Method in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
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
 
applicationServerProperties() - Static method in class ch.sahits.game.openpatrician.spring.EngineConfiguration
 
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

beggarSailorRation - Variable in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 

C

calculateShipCapacity() - Method in class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
 
calculator - Variable in class ch.sahits.game.openpatrician.engine.land.city.AutomaticTradingEngine
 
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
 
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.sea - package ch.sahits.game.openpatrician.engine.sea
 
ch.sahits.game.openpatrician.javafx.util - package ch.sahits.game.openpatrician.javafx.util
 
ch.sahits.game.openpatrician.spring - package ch.sahits.game.openpatrician.spring
 
citiesState - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
city - Variable in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
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
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.ClockTick
 
clientServerEventBus - Variable in class ch.sahits.game.openpatrician.engine.event.task.RefitShipTask
 
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.CityEngine
 
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.land.city.TavernEngine
 
clock - Variable in class ch.sahits.game.openpatrician.engine.ClockTick
 
ClockTick - Class in ch.sahits.game.openpatrician.engine
Timer task updating the date by one tick
ClockTick() - Constructor for class ch.sahits.game.openpatrician.engine.ClockTick
 
computeNumbersOfSailors() - Method in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
context - Variable in class ch.sahits.game.openpatrician.engine.event.task.ServerSideTaskFactory
 
context - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
createAIPlayerEngine(IAIPlayer) - Method in class ch.sahits.game.openpatrician.engine.EngineFactory
 
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.
CurrentThreadExecution - Class in ch.sahits.game.openpatrician.javafx.util
Implementation that executes in the calling thread.
CurrentThreadExecution() - Constructor for class ch.sahits.game.openpatrician.javafx.util.CurrentThreadExecution
 

D

date - Variable in class ch.sahits.game.openpatrician.engine.land.CaptainEngine
 
date - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
date - Variable in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
date - Variable in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
 

E

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
 
execute(Runnable) - Method in class ch.sahits.game.openpatrician.javafx.util.CurrentThreadExecution
 
execute(Runnable) - Method in interface ch.sahits.game.openpatrician.javafx.util.IJavaFXApplicationThreadExecution
Make sure the executable is run in the proper context.
execute(Runnable) - Method in class ch.sahits.game.openpatrician.javafx.util.JavaFXApplicationThreadExecution
 

F

factory - Variable in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
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.
findLoans(ILoaner, IPlayer) - Method in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
Find all the debts that were granted by a player.
fireSailor() - Method in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 

G

gameFactory - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
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.CityEngine
 
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
 
getLoaner(ICity) - Method in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
Retrieve the loaner for the city.
getNumberOfTicks() - Method in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
getRefitShipTask(DateTime, IShip, EShipUpgrade) - Method in class ch.sahits.game.openpatrician.engine.event.task.ServerSideTaskFactory
Retrieve the ship refit task.
getRepairTask(DateTime, IShip) - Method in class ch.sahits.game.openpatrician.engine.event.task.ServerSideTaskFactory
Retrieve the ship repair task.
getShipBuildTask(DateTime, EShipType, IPlayer, ShipFactory, double) - Method in class ch.sahits.game.openpatrician.engine.event.task.ServerSideTaskFactory
Retrieve the ship build task.
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
 

H

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(PeriodicalDailyUpdate) - Method in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
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
 
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.
handlePersonsBecomingAbsent() - Method in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
Randomized state update for persons that are not present.
handlePersonsBecomingPresent() - Method in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
Randomized state update for persons that are present.
handleTradingOfficeBuilt(BuildingFinished) - Method in class ch.sahits.game.openpatrician.engine.land.city.AutomaticTradingEngine
When a traiding office is build add it.
handleWeeklyUpdate(PeriodicalTimeWeekUpdate) - Method in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
hireSailor() - Method in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 

I

IJavaFXApplicationThreadExecution - Interface in ch.sahits.game.openpatrician.javafx.util
Wrapper class for injection into the FX application thread.
init() - Method in class ch.sahits.game.openpatrician.engine.land.CaptainEngine
 
init() - Method in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
init() - Method in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
initialize() - Method in class ch.sahits.game.openpatrician.engine.land.city.AutomaticTradingEngine
 
initialize() - Method in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
initializeEventBus() - Method in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
 
initializeShip() - Method in class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
 

J

JavaFXApplicationThreadExecution - Class in ch.sahits.game.openpatrician.javafx.util
Implementation delegating to the JavaFX thread through Platform.runLater
JavaFXApplicationThreadExecution() - Constructor for class ch.sahits.game.openpatrician.javafx.util.JavaFXApplicationThreadExecution
 

L

level - Variable in class ch.sahits.game.openpatrician.engine.event.task.RefitShipTask
 
loanerEngine - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
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
 
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.LoanerEngine
 
lock - Static variable in class ch.sahits.game.openpatrician.engine.ClockTick
Lock for guaranteeing thread safety

M

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.LoanerEngine
 

N

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

offices - Variable in class ch.sahits.game.openpatrician.engine.land.city.AutomaticTradingEngine
 
orderShipBuilding(IShipyard, EShipType, IPlayer) - Method in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
Order a ship of given type to be build.
owner - Variable in class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
 

P

PirateEngine - Class in ch.sahits.game.openpatrician.engine.sea
Engine governing all pirates.
PirateEngine() - Constructor for class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
piratesState - Variable in class ch.sahits.game.openpatrician.engine.sea.PirateEngine
 
player - Variable in class ch.sahits.game.openpatrician.engine.AIPlayerEngine
 
postMessageDebtNotFulfillable(IDebt) - Method in class ch.sahits.game.openpatrician.engine.land.city.LoanerEngine
 
produceAndConsumeWares() - Method in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
Compute the consume and production of wares of each city

R

refit(IShipyard, IShip, EShipUpgrade) - 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) - Constructor for class ch.sahits.game.openpatrician.engine.event.task.RefitShipTask
 
repair(IShipyard, IShip) - Method in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
Order the repair of the ship.
RepairTask - Class in ch.sahits.game.openpatrician.engine.event.task
 
RepairTask(DateTime, IShip) - Constructor for class ch.sahits.game.openpatrician.engine.event.task.RepairTask
 
rnd - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
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
 
run() - Method in class ch.sahits.game.openpatrician.engine.ClockTick
 
run() - Method in class ch.sahits.game.openpatrician.engine.event.task.RefitShipTask
 
run() - Method in class ch.sahits.game.openpatrician.engine.event.task.RepairTask
 
run() - Method in class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
 

S

sellAndBuy(ITradingOffice) - Method in class ch.sahits.game.openpatrician.engine.land.city.AutomaticTradingEngine
Execute the automatic buying and selling of the automated trading.
serverEventBus - Variable in class ch.sahits.game.openpatrician.engine.ClockTick
 
serverEventBus - Variable in class ch.sahits.game.openpatrician.engine.land.CaptainEngine
 
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
 
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
 
ShipBuildTask - Class in ch.sahits.game.openpatrician.engine.event.task
 
ShipBuildTask(DateTime, EShipType, IPlayer, double) - Constructor for class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
 
shipLoader - Static variable in class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
 
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
 
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
state - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
State of the engine
state - Variable in class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
STOPPED - Static variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
State indicating that the engine is not ready

T

taskFactory - Variable in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
 
taskList - Variable in class ch.sahits.game.openpatrician.engine.land.city.ShipyardEngine
 
TavernEngine - Class in ch.sahits.game.openpatrician.engine.land.city
Every city has a corresponding tavern engine.
TavernEngine(TavernState, ICity) - Constructor for class ch.sahits.game.openpatrician.engine.land.city.TavernEngine
 
tavernEngine(TavernState, ICity) - Method in class ch.sahits.game.openpatrician.spring.EngineConfiguration
 
tavernEngines - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
threadExecutor - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
 
tick() - Method in class ch.sahits.game.openpatrician.engine.ClockTick
Update the time by one tick.
tickCounter - Variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
Counter that counts the ticks
type - Variable in class ch.sahits.game.openpatrician.engine.event.task.ShipBuildTask
 

U

updater - Variable in class ch.sahits.game.openpatrician.engine.land.city.AutomaticTradingEngine
 

W

WARE_UPDATES_MINUTES - Static variable in class ch.sahits.game.openpatrician.engine.land.city.CityEngine
Update the ware consumed and produced every 12h

X

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

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