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

A

add(int) - Method in class ch.sahits.game.openpatrician.model.BaseAmountable
Add a number items
add(IClockUpdateListener) - Method in class ch.sahits.game.openpatrician.model.Date
 
add(IClockUpdateListener) - Method in interface ch.sahits.game.openpatrician.model.IClockUpdateListenable
Add a new listener that should be updated
add(int, int) - Method in class ch.sahits.game.openpatrician.model.product.AmountablePrice
Add a number items
addNewWare(IWare, int) - Method in class ch.sahits.game.openpatrician.model.impl.WareHolding
Add a new ware to the wares list
addShip(IShip) - Method in interface ch.sahits.game.openpatrician.model.IPlayer
Add a new ship for the player
addShip(IShip) - Method in class ch.sahits.game.openpatrician.model.Player
 
AIPlayer - Class in ch.sahits.game.openpatrician.model
Implementation of an artificial intelligence player.
AIPlayer(ICity, long, DateObject) - Constructor for class ch.sahits.game.openpatrician.model.AIPlayer
 
amount - Variable in class ch.sahits.game.openpatrician.model.BaseAmountable
Number of items that are amounted
AmountablePrice - Class in ch.sahits.game.openpatrician.model.product
This class defines the amounted price of an IWare object.
AmountablePrice() - Constructor for class ch.sahits.game.openpatrician.model.product.AmountablePrice
 
approval - Variable in class ch.sahits.game.openpatrician.model.Difficulty
Difficulty approval: at higher settings for every action that increases the approval rating a malus is taken into account.

B

BalanceSheet - Class in ch.sahits.game.openpatrician.model.impl
 
BalanceSheet(ICity, IPlayer) - Constructor for class ch.sahits.game.openpatrician.model.impl.BalanceSheet
Initialize a blank sheet
BalanceSheet(BalanceSheet) - Constructor for class ch.sahits.game.openpatrician.model.impl.BalanceSheet
Initialize a forcast balance sheet by using the balance sheet of the previous week
BaseAmountable<T extends IAmountable> - Class in ch.sahits.game.openpatrician.model
This base class for amountable items provides a count of the items.
BaseAmountable() - Constructor for class ch.sahits.game.openpatrician.model.BaseAmountable
 
baseValue - Variable in class ch.sahits.game.openpatrician.model.building.TradingOffice
Value of the building (building costs
birthDate - Variable in class ch.sahits.game.openpatrician.model.personal.impl.PersonalData
 
birthplace - Variable in class ch.sahits.game.openpatrician.model.personal.impl.PersonalData
 
Bremen - Class in ch.sahits.game.openpatrician.model.city.impl
 
Bremen() - Constructor for class ch.sahits.game.openpatrician.model.city.impl.Bremen
 
build(IBuilding) - Method in interface ch.sahits.game.openpatrician.model.city.ICity
Remove a building from the list of buildings in the city
build(IBuilding) - Method in class ch.sahits.game.openpatrician.model.city.impl.City
Add a new building to the city
BuildingFactory - Class in ch.sahits.game.openpatrician.model.building
Factory to create building instances.
BuildingFactory() - Constructor for class ch.sahits.game.openpatrician.model.building.BuildingFactory
 
BuildingProduction - Class in ch.sahits.game.openpatrician.model.city
This class helps computing the production amount for the different buildings
BuildingProduction() - Constructor for class ch.sahits.game.openpatrician.model.city.BuildingProduction
 
buildings - Variable in class ch.sahits.game.openpatrician.model.city.impl.City
Store the buildings in the city

C

cal - Variable in class ch.sahits.game.openpatrician.model.Date
Current date
calculateWareRepputation(ICity, IPlayer) - Method in class ch.sahits.game.openpatrician.model.people.ReputationCalculator
Check each ware if the player contributes and what amount.
calculation - Variable in enum ch.sahits.game.openpatrician.model.product.EWare
 
careerLevel - Variable in class ch.sahits.game.openpatrician.model.Player
 
cash - Variable in class ch.sahits.game.openpatrician.model.impl.Company
 
ch.sahits.game.openpatrician.model - package ch.sahits.game.openpatrician.model
 
ch.sahits.game.openpatrician.model.building - package ch.sahits.game.openpatrician.model.building
 
ch.sahits.game.openpatrician.model.building.impl - package ch.sahits.game.openpatrician.model.building.impl
 
ch.sahits.game.openpatrician.model.city - package ch.sahits.game.openpatrician.model.city
 
ch.sahits.game.openpatrician.model.city.impl - package ch.sahits.game.openpatrician.model.city.impl
 
ch.sahits.game.openpatrician.model.impl - package ch.sahits.game.openpatrician.model.impl
 
ch.sahits.game.openpatrician.model.people - package ch.sahits.game.openpatrician.model.people
 
ch.sahits.game.openpatrician.model.personal - package ch.sahits.game.openpatrician.model.personal
 
ch.sahits.game.openpatrician.model.personal.impl - package ch.sahits.game.openpatrician.model.personal.impl
 
ch.sahits.game.openpatrician.model.product - package ch.sahits.game.openpatrician.model.product
 
ch.sahits.game.openpatrician.model.ship - package ch.sahits.game.openpatrician.model.ship
 
ch.sahits.game.openpatrician.model.ship.impl - package ch.sahits.game.openpatrician.model.ship.impl
 
ch.sahits.game.openpatrician.model.time - package ch.sahits.game.openpatrician.model.time
 
ch.sahits.game.openpatrician.model.weapon - package ch.sahits.game.openpatrician.model.weapon
 
CHANDLER - Static variable in class ch.sahits.game.openpatrician.model.Difficulty
 
cities - Variable in class ch.sahits.game.openpatrician.model.GameMap
 
city - Variable in class ch.sahits.game.openpatrician.model.building.impl.Storage
 
city - Variable in class ch.sahits.game.openpatrician.model.building.TradingOffice
Reference to the city the trading office is located in
City - Class in ch.sahits.game.openpatrician.model.city.impl
Implementation of the city model.
City(String) - Constructor for class ch.sahits.game.openpatrician.model.city.impl.City
 
city - Variable in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 
city - Variable in class ch.sahits.game.openpatrician.model.personal.impl.Reputation
 
CityFactory - Class in ch.sahits.game.openpatrician.model.city
Factory class for the cities of the game.
CityFactory() - Constructor for class ch.sahits.game.openpatrician.model.city.CityFactory
 
CityProduction - Class in ch.sahits.game.openpatrician.model.city
This class provides numbers for production rates.
CityProduction() - Constructor for class ch.sahits.game.openpatrician.model.city.CityProduction
 
clearLoadedWares() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Ship
Clear all loaded wares.
Cog - Class in ch.sahits.game.openpatrician.model.ship.impl
 
Cog(EShipUpgrade, String, int) - Constructor for class ch.sahits.game.openpatrician.model.ship.impl.Cog
Constructor initializing the name and the upgrade level
Cog(String, int) - Constructor for class ch.sahits.game.openpatrician.model.ship.impl.Cog
Constructor for a Crayer without any upgrade
Cologne - Class in ch.sahits.game.openpatrician.model.city.impl
 
Cologne() - Constructor for class ch.sahits.game.openpatrician.model.city.impl.Cologne
 
Company - Class in ch.sahits.game.openpatrician.model.impl
 
Company(IPlayer, ICity, long) - Constructor for class ch.sahits.game.openpatrician.model.impl.Company
 
company - Variable in class ch.sahits.game.openpatrician.model.Player
 
companyValue - Variable in class ch.sahits.game.openpatrician.model.impl.Company
 
companyValue - Variable in enum ch.sahits.game.openpatrician.model.personal.ESocialRank
 
computeAVGPrice(IWare, int) - Method in class ch.sahits.game.openpatrician.model.building.TradingOffice
Compute the average price for ware that is to be purchased in the specified amount.
computeAVGPrice(IWare, int) - Method in class ch.sahits.game.openpatrician.model.impl.WareHolding
Compute the average price for ware that is to be purchased in the specified amount.
computeBuyPrice(int, int) - Method in enum ch.sahits.game.openpatrician.model.product.EWare
 
computeBuyPrice(int, int) - Method in interface ch.sahits.game.openpatrician.model.product.IWare
Compute the price for the wares to be bought.
computePrice(int, int, int, int, int, IPopulationStructure, ECityState) - Method in enum ch.sahits.game.openpatrician.model.product.EWare
Compute the price for one item of the ware.
computePrice(int, int, int, int, int, IPopulationStructure, ECityState) - Method in interface ch.sahits.game.openpatrician.model.product.IPriceCalculation
Compute the price for one item of the ware.
computePrice(int, int, int, int, int, IPopulationStructure, ECityState) - Method in class ch.sahits.game.openpatrician.model.product.LinearPriceCalculation
Compute the price for one item of the ware.
computePrice(int, int, int, int, int, IPopulationStructure, ECityState) - Method in class ch.sahits.game.openpatrician.model.product.SimplePriceCalculation
Compute the price for one item of the ware.
computeRandomBirthDate(int) - Static method in class ch.sahits.game.openpatrician.model.GameFactory
 
computeRentalIncome() - Method in interface ch.sahits.game.openpatrician.model.building.ITownHouse
Compute the rental income for one day
computeSellPrice(int, int) - Method in enum ch.sahits.game.openpatrician.model.product.EWare
 
computeSellPrice(int, int) - Method in interface ch.sahits.game.openpatrician.model.product.IWare
Compute the price for the wares to be soled.
conHer - Variable in class ch.sahits.game.openpatrician.model.personal.impl.SpouseData
 
consumer - Variable in class ch.sahits.game.openpatrician.model.people.ReputationCalculator
 
containsWare(IWare) - Method in class ch.sahits.game.openpatrician.model.impl.WareHolding
Check if there is an amountable object for this ware
contribute(IWare, int) - Method in class ch.sahits.game.openpatrician.model.city.impl.Contributions
Contribute the amount of the ware.
contribute(IWare, int) - Method in class ch.sahits.game.openpatrician.model.city.impl.DailyContribution
Update the contribution for the day the amount may be positive or negative
Contributions - Class in ch.sahits.game.openpatrician.model.city.impl
Tracking the contibutions of ware over the last seven days rolling.
Contributions() - Constructor for class ch.sahits.game.openpatrician.model.city.impl.Contributions
 
contributions - Variable in class ch.sahits.game.openpatrician.model.city.impl.Contributions
 
contributions - Variable in class ch.sahits.game.openpatrician.model.city.impl.DailyContribution
 
conYour - Variable in class ch.sahits.game.openpatrician.model.personal.impl.SpouseData
 
COUNSILMAN - Static variable in class ch.sahits.game.openpatrician.model.Difficulty
 
Crayer - Class in ch.sahits.game.openpatrician.model.ship.impl
This model represents a crayer.
Crayer(EShipUpgrade, String, int) - Constructor for class ch.sahits.game.openpatrician.model.ship.impl.Crayer
Constructor initializing the name and the upgrade level
Crayer(String, int) - Constructor for class ch.sahits.game.openpatrician.model.ship.impl.Crayer
Constructor for a Crayer without any upgrade
createAIPlayer(ICity, long) - Static method in class ch.sahits.game.openpatrician.model.GameFactory
Create an artifiacial player instance.
createCityByName(String) - Static method in class ch.sahits.game.openpatrician.model.city.CityFactory
Create a standard city based on its name
createCityByName(ECityName) - Static method in class ch.sahits.game.openpatrician.model.city.CityFactory
Create a standard city based on its unique identification
createCog(String, int) - Static method in class ch.sahits.game.openpatrician.model.ship.ShipFactory
Create a a cog with the given name.
createCog(String, EShipUpgrade, int) - Static method in class ch.sahits.game.openpatrician.model.ship.ShipFactory
Create a cog with the given name.
createCrayer(String, int) - Static method in class ch.sahits.game.openpatrician.model.ship.ShipFactory
Create a a crayer with the given name.
createCrayer(String, EShipUpgrade, int) - Static method in class ch.sahits.game.openpatrician.model.ship.ShipFactory
Create a crayer with the given name.
createdCityCache - Static variable in class ch.sahits.game.openpatrician.model.city.CityFactory
Cache storing the already created cities to avoid duplicate creation
createGame(IMap, EObjective, Difficulty, EGameSpeed, int) - Static method in class ch.sahits.game.openpatrician.model.GameFactory
 
createHolk(String, int) - Static method in class ch.sahits.game.openpatrician.model.ship.ShipFactory
Create a a holk with the given name.
createHolk(String, EShipUpgrade, int) - Static method in class ch.sahits.game.openpatrician.model.ship.ShipFactory
Create a holk with the given name.
createIfNotStroed(ECityName) - Static method in class ch.sahits.game.openpatrician.model.city.CityFactory
Retrieve the city from the cache or create the city and put it there.
createMap() - Static method in class ch.sahits.game.openpatrician.model.GameFactory
Create the standard map with all cities defined in ECityName
createPlayer(String, String, ICity, boolean, int) - Static method in class ch.sahits.game.openpatrician.model.GameFactory
Create a human player instance.
createSnaikka(String, int) - Static method in class ch.sahits.game.openpatrician.model.ship.ShipFactory
Create a a snaikka with the given name.
createSnaikka(String, EShipUpgrade, int) - Static method in class ch.sahits.game.openpatrician.model.ship.ShipFactory
Create a snaikka with the given name.
createTridingOffice(IPlayer, ICity, int) - Static method in class ch.sahits.game.openpatrician.model.building.BuildingFactory
Create a new trading office in the city.
currentWeek - Variable in class ch.sahits.game.openpatrician.model.building.TradingOffice
 

D

DailyContribution - Class in ch.sahits.game.openpatrician.model.city.impl
 
DailyContribution() - Constructor for class ch.sahits.game.openpatrician.model.city.impl.DailyContribution
 
damage(Object) - Method in class ch.sahits.game.openpatrician.model.ship.impl.Cog
 
damage(Object) - Method in class ch.sahits.game.openpatrician.model.ship.impl.Crayer
 
damage(Object) - Method in class ch.sahits.game.openpatrician.model.ship.impl.Holk
 
damage(Object) - Method in class ch.sahits.game.openpatrician.model.ship.impl.Snaikka
 
damage(Object) - Method in interface ch.sahits.game.openpatrician.model.ship.IShip
Damage the ship
Danzig - Class in ch.sahits.game.openpatrician.model.city.impl
 
Danzig() - Constructor for class ch.sahits.game.openpatrician.model.city.impl.Danzig
 
date - Variable in class ch.sahits.game.openpatrician.model.city.impl.Contributions
 
Date - Class in ch.sahits.game.openpatrician.model
Representation of the date within the game.
Date(int) - Constructor for class ch.sahits.game.openpatrician.model.Date
Initialize the date with start year.
Date(Calendar) - Constructor for class ch.sahits.game.openpatrician.model.Date
Constructor for testing purposes only
date - Variable in class ch.sahits.game.openpatrician.model.time.PeriodicalTimeUpdater
 
DateObject - Class in ch.sahits.game.openpatrician.model.time
This simple date object holds a date with year, month, day of month, day in week (starting with monday), hour and minute.
DateObject(Calendar) - Constructor for class ch.sahits.game.openpatrician.model.time.DateObject
 
dayInMonth - Variable in class ch.sahits.game.openpatrician.model.time.DateObject
 
dayInWeek - Variable in class ch.sahits.game.openpatrician.model.time.DateObject
 
Difficulty - Class in ch.sahits.game.openpatrician.model
Defining the difficulty in the game
Difficulty(EDifficultyLevel, EDifficultyLevel, EDifficultyLevel, EDifficultyLevel, EDifficultyLevel, EDifficultyLevel, int, int) - Constructor for class ch.sahits.game.openpatrician.model.Difficulty
 
difficulty - Variable in class ch.sahits.game.openpatrician.model.Game
 

E

ECityName - Enum in ch.sahits.game.openpatrician.model.city
Enumeration of the home city names
ECityName() - Constructor for enum ch.sahits.game.openpatrician.model.city.ECityName
 
ECityState - Enum in ch.sahits.game.openpatrician.model.city
State of the city.
ECityState() - Constructor for enum ch.sahits.game.openpatrician.model.city.ECityState
 
EDifficultyLevel - Enum in ch.sahits.game.openpatrician.model
Different levels of difficulty.
EDifficultyLevel() - Constructor for enum ch.sahits.game.openpatrician.model.EDifficultyLevel
 
EEconomicCareer - Enum in ch.sahits.game.openpatrician.model.personal
Enumeration of the attributes of an economic career
EEconomicCareer() - Constructor for enum ch.sahits.game.openpatrician.model.personal.EEconomicCareer
 
effectiveProduction - Variable in class ch.sahits.game.openpatrician.model.city.impl.City
 
EGameSpeed - Enum in ch.sahits.game.openpatrician.model
 
EGameSpeed() - Constructor for enum ch.sahits.game.openpatrician.model.EGameSpeed
 
EKontorType - Enum in ch.sahits.game.openpatrician.model.city
 
EKontorType() - Constructor for enum ch.sahits.game.openpatrician.model.city.EKontorType
 
ELevel - Enum in ch.sahits.game.openpatrician.model.building
Four step level definition
ELevel() - Constructor for enum ch.sahits.game.openpatrician.model.building.ELevel
 
EMilitantCareer - Enum in ch.sahits.game.openpatrician.model.personal
Enumeration indicating the career level of a militant career.
EMilitantCareer() - Constructor for enum ch.sahits.game.openpatrician.model.personal.EMilitantCareer
 
ensureCapacity(int) - Method in class ch.sahits.game.openpatrician.model.ship.impl.Ship
Check if the amount can be loaded
EObjective - Enum in ch.sahits.game.openpatrician.model
Enumaration defining the games objectives
EObjective() - Constructor for enum ch.sahits.game.openpatrician.model.EObjective
 
EPlayerStateChange - Enum in ch.sahits.game.openpatrician.model
Enumeration on the different states that can be monitored in the player
EPlayerStateChange() - Constructor for enum ch.sahits.game.openpatrician.model.EPlayerStateChange
 
EPopulationClass - Enum in ch.sahits.game.openpatrician.model.city
 
EPopulationClass() - Constructor for enum ch.sahits.game.openpatrician.model.city.EPopulationClass
 
equals(Object) - Method in class ch.sahits.game.openpatrician.model.personal.impl.PersonalData
 
equals(Object) - Method in class ch.sahits.game.openpatrician.model.Player
 
EShipSide - Enum in ch.sahits.game.openpatrician.model.ship
Defining the sides of a ship
EShipSide() - Constructor for enum ch.sahits.game.openpatrician.model.ship.EShipSide
 
EShipUpgrade - Enum in ch.sahits.game.openpatrician.model.ship
Define the upgrade levels for ships.
EShipUpgrade() - Constructor for enum ch.sahits.game.openpatrician.model.ship.EShipUpgrade
 
ESocialRank - Enum in ch.sahits.game.openpatrician.model.personal
Social rank of a player
ESocialRank(int, int) - Constructor for enum ch.sahits.game.openpatrician.model.personal.ESocialRank
 
EUpdateIntervalRegistration - Enum in ch.sahits.game.openpatrician.model.time
Intervalls that can be registerd to be notified through updates
EUpdateIntervalRegistration() - Constructor for enum ch.sahits.game.openpatrician.model.time.EUpdateIntervalRegistration
 
EWare - Enum in ch.sahits.game.openpatrician.model.product
Define the different type of wares that are produced and can be traded.
EWare(String) - Constructor for enum ch.sahits.game.openpatrician.model.product.EWare
Initialize the ware based on a configuration file
EWareSize - Enum in ch.sahits.game.openpatrician.model.product
Measurement applied to wares.
EWareSize(int) - Constructor for enum ch.sahits.game.openpatrician.model.product.EWareSize
 
EWeapon - Enum in ch.sahits.game.openpatrician.model.weapon
Enumeration defining all weapons
EWeapon() - Constructor for enum ch.sahits.game.openpatrician.model.weapon.EWeapon
 

F

factory - Variable in class ch.sahits.game.openpatrician.model.ModelDIFactory
 
findBuildings(ICity) - Method in interface ch.sahits.game.openpatrician.model.IPlayer
Find all buildings of the player in the city
findBuildings(ICity, Class<? extends IBuilding>) - Method in interface ch.sahits.game.openpatrician.model.IPlayer
Find all buildings in the city that are some subtype of the indicated class
findBuildings(ICity) - Method in class ch.sahits.game.openpatrician.model.Player
 
findBuildings(ICity, Class<? extends IBuilding>) - Method in class ch.sahits.game.openpatrician.model.Player
 
findTradingOffice(ICity) - Method in interface ch.sahits.game.openpatrician.model.IPlayer
Find the trading office of the player in the city.
findTradingOffice(ICity) - Method in class ch.sahits.game.openpatrician.model.Player
 
firstNameLoader - Static variable in class ch.sahits.game.openpatrician.model.AIPlayer
 
fitness - Variable in class ch.sahits.game.openpatrician.model.ship.impl.Ship
Fitness of the ship.
fleet - Variable in class ch.sahits.game.openpatrician.model.Player
 

G

Game - Class in ch.sahits.game.openpatrician.model
Implementation of the game
Game(IMap, EObjective, Difficulty, EGameSpeed, Date) - Constructor for class ch.sahits.game.openpatrician.model.Game
 
GameFactory - Class in ch.sahits.game.openpatrician.model
 
GameFactory() - Constructor for class ch.sahits.game.openpatrician.model.GameFactory
 
GameMap - Class in ch.sahits.game.openpatrician.model
Implementation of the game map.
GameMap(ICity...) - Constructor for class ch.sahits.game.openpatrician.model.GameMap
Initialize the map by means of a list of its cities.
gameTime - Variable in class ch.sahits.game.openpatrician.model.Game
 
gameUpdate(Event, Object) - Method in class ch.sahits.game.openpatrician.model.Game
 
getAge(DateObject) - Method in class ch.sahits.game.openpatrician.model.personal.impl.PersonalData
 
getAge(DateObject) - Method in interface ch.sahits.game.openpatrician.model.personal.IPersonalData
Compute the current age
getAmount() - Method in class ch.sahits.game.openpatrician.model.BaseAmountable
Retrieve the number of items
getApproval() - Method in class ch.sahits.game.openpatrician.model.Difficulty
 
getAVGPrice() - Method in class ch.sahits.game.openpatrician.model.product.AmountablePrice
Retrieve the average price of one item
getBalanceLastWeek() - Method in interface ch.sahits.game.openpatrician.model.building.ITradingOffice
Retrieve the balance sheet for last completed week.
getBalanceLastWeek() - Method in class ch.sahits.game.openpatrician.model.building.TradingOffice
 
getBirthDate() - Method in class ch.sahits.game.openpatrician.model.personal.impl.PersonalData
 
getBirthDate() - Method in interface ch.sahits.game.openpatrician.model.personal.IPersonalData
Retrieve the birth date
getBirthPlace() - Method in class ch.sahits.game.openpatrician.model.personal.impl.PersonalData
 
getBirthPlace() - Method in interface ch.sahits.game.openpatrician.model.personal.IPersonalData
Retrieve the birth place
getBuildingProduction() - Method in class ch.sahits.game.openpatrician.model.ModelDIFactory
Retrieve the BuildingProduction instance
getBuildings() - Method in interface ch.sahits.game.openpatrician.model.city.ICity
Retrieve a list of all buildings in the city.
getBuildings() - Method in class ch.sahits.game.openpatrician.model.city.impl.City
 
getCapacity() - Method in interface ch.sahits.game.openpatrician.model.building.ITownHouse
retrieve the capacity of the house
getCapacity() - Method in interface ch.sahits.game.openpatrician.model.building.ITradingOffice
Retrieve the storage capacity of the trading office and all other storages in the same city
getCapacity() - Method in class ch.sahits.game.openpatrician.model.building.TradingOffice
 
getCapacity() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Cog
 
getCapacity() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Crayer
 
getCapacity() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Holk
 
getCapacity() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Snaikka
 
getCapacity() - Method in interface ch.sahits.game.openpatrician.model.ship.IShip
Available capacity of the ship, this represent the free storage in barrels
getCareerLevel() - Method in interface ch.sahits.game.openpatrician.model.IPlayer
Retrieve the career level, which is either defined by EMilitantCareer or EEconomicCareer.
getCareerLevel() - Method in class ch.sahits.game.openpatrician.model.Player
 
getCash() - Method in interface ch.sahits.game.openpatrician.model.ICompany
Retrieve the cash avalable to the company
getCash() - Method in class ch.sahits.game.openpatrician.model.impl.Company
 
getCash() - Method in interface ch.sahits.game.openpatrician.model.IPlayer
Retrieve the amount of money of the player
getCash() - Method in class ch.sahits.game.openpatrician.model.Player
 
getCities() - Method in class ch.sahits.game.openpatrician.model.GameMap
 
getCities() - Method in interface ch.sahits.game.openpatrician.model.IMap
Retrieve an unmodifiable list of all the cities in the map
getCityProduction() - Method in class ch.sahits.game.openpatrician.model.ModelDIFactory
Retrieve the CityProduction instance
getCompany() - Method in interface ch.sahits.game.openpatrician.model.IPlayer
Retrieve the company data
getCompany() - Method in class ch.sahits.game.openpatrician.model.Player
 
getCompanyValue() - Method in interface ch.sahits.game.openpatrician.model.ICompany
Retrieve the total value of the company
getCompanyValue() - Method in class ch.sahits.game.openpatrician.model.impl.Company
 
getCompanyValue() - Method in enum ch.sahits.game.openpatrician.model.personal.ESocialRank
Retrieve the company value needed for this social rank
getConnectionsInHerHomeTown() - Method in class ch.sahits.game.openpatrician.model.personal.impl.SpouseData
 
getConnectionsInHerHomeTown() - Method in interface ch.sahits.game.openpatrician.model.personal.ISpouseData
Retrieve the connectivity to the counsilmen in her home town
getConnectionsInYourHomeTown() - Method in class ch.sahits.game.openpatrician.model.personal.impl.SpouseData
 
getConnectionsInYourHomeTown() - Method in interface ch.sahits.game.openpatrician.model.personal.ISpouseData
Retrieve the connectivity to the counsilmen in your home town
getConsumption(IWare, ICity, IPlayer) - Method in class ch.sahits.game.openpatrician.model.city.BuildingProduction
Retrieve the amount of ware that all the workshops of a player consume within a week
getContribution(IPlayer, IWare) - Method in interface ch.sahits.game.openpatrician.model.city.ICity
Check out what the player contributed to the ware
getContribution(IPlayer, IWare) - Method in class ch.sahits.game.openpatrician.model.city.impl.City
 
getContribution(IWare) - Method in class ch.sahits.game.openpatrician.model.city.impl.Contributions
Retrieve the contribution for the whole week
getContribution(IWare) - Method in class ch.sahits.game.openpatrician.model.city.impl.DailyContribution
Retrieve the contributions for the day
getCostsPerDay() - Method in class ch.sahits.game.openpatrician.model.building.impl.Storage
 
getCostsPerDay() - Method in interface ch.sahits.game.openpatrician.model.building.IStorage
Retrieve the daily cost for rent storage
getCurrentDate() - Method in class ch.sahits.game.openpatrician.model.Date
Retrieve a copy of the current date
getCurrentWeek() - Method in interface ch.sahits.game.openpatrician.model.building.ITradingOffice
Retrieve the balance sheet for the current week
getCurrentWeek() - Method in class ch.sahits.game.openpatrician.model.building.TradingOffice
 
getDamage() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Cog
 
getDamage() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Crayer
 
getDamage() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Holk
 
getDamage() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Snaikka
 
getDamage() - Method in interface ch.sahits.game.openpatrician.model.ship.IShip
Retrieve the damage of the ship in percentage
getDayInMonth() - Method in class ch.sahits.game.openpatrician.model.time.DateObject
 
getDayInWeek() - Method in class ch.sahits.game.openpatrician.model.time.DateObject
Retrieve the day in the week starting with Monday at index 0
getDifficulty() - Method in class ch.sahits.game.openpatrician.model.Game
 
getDifficulty() - Method in interface ch.sahits.game.openpatrician.model.IGame
Retrieve the difficultiy level of the game
getEffectiveProduction() - Method in interface ch.sahits.game.openpatrician.model.city.ICity
Retrieve the wares that are produced efficiently
getEffectiveProduction() - Method in class ch.sahits.game.openpatrician.model.city.impl.City
Retrieve the wares that are produced efficiently
getEfficientProduction(IWare) - Method in class ch.sahits.game.openpatrician.model.city.CityProduction
Compute the amount of ware that is produced efficiently within a week
getEndOfWeek() - Method in class ch.sahits.game.openpatrician.model.Date
Retrieve the date of the end of the week in the form {Day of month}.
getEndOfWeekInternal() - Method in class ch.sahits.game.openpatrician.model.Date
Retrieve the date of the of the Sunday of last week
getExpertiseLevel() - Method in interface ch.sahits.game.openpatrician.model.building.ISteward
Retrieve the level of expertise of the steward
getFleet() - Method in interface ch.sahits.game.openpatrician.model.IPlayer
Get a list of all ships
getFleet() - Method in class ch.sahits.game.openpatrician.model.Player
 
getGameSpeed() - Method in class ch.sahits.game.openpatrician.model.Game
 
getGameSpeed() - Method in interface ch.sahits.game.openpatrician.model.IGame
Retrieve the current game speed
getGuardCostsPerDay() - Method in class ch.sahits.game.openpatrician.model.building.impl.Storage
 
getGuardCostsPerDay() - Method in interface ch.sahits.game.openpatrician.model.building.IStorage
Retrieve the costs for the guards
getHomeTown() - Method in interface ch.sahits.game.openpatrician.model.ICompany
Retrieve the home town of the company
getHomeTown() - Method in class ch.sahits.game.openpatrician.model.impl.Company
 
getHometown() - Method in interface ch.sahits.game.openpatrician.model.IPlayer
Retrieve the players hometown
getHometown() - Method in class ch.sahits.game.openpatrician.model.Player
 
getHour() - Method in class ch.sahits.game.openpatrician.model.time.DateObject
 
getIneffectiveProduction() - Method in interface ch.sahits.game.openpatrician.model.city.ICity
Retrieve the wares that are produced inefficiently
getIneffectiveProduction() - Method in class ch.sahits.game.openpatrician.model.city.impl.City
Retrieve the wares that are produced inefficiently
getInefficientProduction(IWare) - Method in class ch.sahits.game.openpatrician.model.city.CityProduction
Compute the amount of ware that is produced inefficiently within a week
getInstance(int) - Static method in class ch.sahits.game.openpatrician.model.Date
Retrieve the singleton instance of the date.
getInstance() - Static method in class ch.sahits.game.openpatrician.model.ModelDIFactory
 
getKontorType() - Method in interface ch.sahits.game.openpatrician.model.city.ICity
Retrieve the city type
getKontorType() - Method in class ch.sahits.game.openpatrician.model.city.impl.City
 
getLastName() - Method in interface ch.sahits.game.openpatrician.model.IPlayer
Get a players last name
getLastName() - Method in class ch.sahits.game.openpatrician.model.personal.impl.PersonalData
 
getLastName() - Method in interface ch.sahits.game.openpatrician.model.personal.IPersonalData
Get a players last name
getLastName() - Method in class ch.sahits.game.openpatrician.model.Player
 
getLoad() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Ship
 
getLoad() - Method in interface ch.sahits.game.openpatrician.model.ship.IShip
Retrieve the amount of load in barrels that is loaded in actual wares (no wappen or crew)
getLoadedWares() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Ship
 
getLoadedWares() - Method in interface ch.sahits.game.openpatrician.model.ship.IShip
Retrieve a list of all loaded wares
getLocalDisplayName() - Method in enum ch.sahits.game.openpatrician.model.product.EWare
 
getLocalDisplayName(String) - Method in enum ch.sahits.game.openpatrician.model.product.EWare
Retrieve the localized display name for id.
getLocalDisplayName() - Method in interface ch.sahits.game.openpatrician.model.product.IWare
 
getLocalDisplayName() - Method in enum ch.sahits.game.openpatrician.model.weapon.EWeapon
Retrieve the localized display name for id.
getLocalDisplayName() - Method in interface ch.sahits.game.openpatrician.model.weapon.IWeapon
Retrieve the localized display name for id.
getLocalizedName() - Method in enum ch.sahits.game.openpatrician.model.city.ECityName
Retrieve the localized city name
getMap() - Method in class ch.sahits.game.openpatrician.model.Game
 
getMap() - Method in interface ch.sahits.game.openpatrician.model.IGame
Retrieve the map
getMarketSaturation() - Method in enum ch.sahits.game.openpatrician.model.product.EWare
 
getMarketSaturation() - Method in interface ch.sahits.game.openpatrician.model.product.IWare
Retrieve the amount of units which is considered infinite.
getMaxValueBuy() - Method in enum ch.sahits.game.openpatrician.model.product.EWare
 
getMaxValueBuy() - Method in interface ch.sahits.game.openpatrician.model.product.IWare
Retrieve the value that is maximal payed for one unit of this ware if no ware is available.
getMaxValueSell() - Method in enum ch.sahits.game.openpatrician.model.product.EWare
Retrieve the highest price of this ware when only on item is available
getMaxValueSell() - Method in interface ch.sahits.game.openpatrician.model.product.IWare
 
getMaxWorkers() - Method in interface ch.sahits.game.openpatrician.model.building.IWorkShop
Retrieve the number of workers maximal employable by this shop
getMinute() - Method in class ch.sahits.game.openpatrician.model.time.DateObject
 
getMinValueBuy() - Method in enum ch.sahits.game.openpatrician.model.product.EWare
 
getMinValueBuy() - Method in interface ch.sahits.game.openpatrician.model.product.IWare
Retrieve the value of the minimal payed sum for on unit if an infinitly amount of the ware exists.
getMinValueSell() - Method in enum ch.sahits.game.openpatrician.model.product.EWare
Retrieve the lowest price this ware is soled (at market saturation)
getMinValueSell() - Method in interface ch.sahits.game.openpatrician.model.product.IWare
 
getMonth() - Method in class ch.sahits.game.openpatrician.model.time.DateObject
 
getName() - Method in interface ch.sahits.game.openpatrician.model.city.ICity
Retrieve the city name
getName() - Method in class ch.sahits.game.openpatrician.model.city.impl.City
 
getName() - Method in interface ch.sahits.game.openpatrician.model.IPlayer
Retrieve the players name
getName() - Method in class ch.sahits.game.openpatrician.model.personal.impl.PersonalData
 
getName() - Method in interface ch.sahits.game.openpatrician.model.personal.IPersonalData
Retrieve the players name
getName() - Method in class ch.sahits.game.openpatrician.model.Player
 
getName() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Ship
 
getName() - Method in interface ch.sahits.game.openpatrician.model.ship.IShip
Retrieve the name of the of the ship
getNavalBattle() - Method in class ch.sahits.game.openpatrician.model.Difficulty
 
getNbWareHouses() - Method in class ch.sahits.game.openpatrician.model.building.impl.Storage
Retrieve the number of warehouses
getNeed(EWare, EPopulationClass, int) - Method in class ch.sahits.game.openpatrician.model.city.PopulationConsume
Retrieve the amount needed of a ware by a population class of the size
getNeed() - Method in class ch.sahits.game.openpatrician.model.Difficulty
 
getNextFreeSide(IWeapon) - Method in class ch.sahits.game.openpatrician.model.ship.impl.Ship
Retrieve the side of the next free slot where the weapon can be placed.
getNextFreeSlot(IWeapon, EShipSide) - Method in class ch.sahits.game.openpatrician.model.ship.impl.Ship
Retrieve the next free slot for the weapon on the side.
getNextRank() - Method in enum ch.sahits.game.openpatrician.model.personal.ESocialRank
 
getNumberCities() - Method in class ch.sahits.game.openpatrician.model.GameMap
 
getNumberCities() - Method in interface ch.sahits.game.openpatrician.model.IMap
Retrieve the number of cities that are on the map.
getNumberGuards() - Method in class ch.sahits.game.openpatrician.model.building.impl.Storage
 
getNumberGuards() - Method in interface ch.sahits.game.openpatrician.model.building.IStorage
Retrieve the number of guards
getNumberOfChildren() - Method in class ch.sahits.game.openpatrician.model.personal.impl.SpouseData
 
getNumberOfChildren() - Method in interface ch.sahits.game.openpatrician.model.personal.ISpouseData
Retrieve the number of children you have with the spouse
getNumberOfShips() - Method in class ch.sahits.game.openpatrician.model.Difficulty
 
getOccupancy() - Method in interface ch.sahits.game.openpatrician.model.building.ITownHouse
Retrieve the occupancy of the house
getOfficeTrading() - Method in interface ch.sahits.game.openpatrician.model.building.ITradingOffice
Get the trading object of the office
getOfficeTrading() - Method in class ch.sahits.game.openpatrician.model.building.TradingOffice
 
getOfficeTrading() - Method in interface ch.sahits.game.openpatrician.model.IBalanceSheet
Retrieve the balance for the office trading
getOfficeTrading() - Method in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 
getOtherCosts() - Method in interface ch.sahits.game.openpatrician.model.IBalanceSheet
Retrieve other unspecified costs like fines
getOtherCosts() - Method in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 
getOwner() - Method in interface ch.sahits.game.openpatrician.model.building.IBuilding
Retrieve the owner of the trading office
getOwner() - Method in class ch.sahits.game.openpatrician.model.building.TradingOffice
 
getPersonalData(ICity, DateObject) - Static method in class ch.sahits.game.openpatrician.model.AIPlayer
 
getPersonalData() - Method in interface ch.sahits.game.openpatrician.model.IPlayer
Retrieve the personal data of the player
getPersonalData() - Method in class ch.sahits.game.openpatrician.model.Player
 
getPirateActivity() - Method in class ch.sahits.game.openpatrician.model.Difficulty
 
getPolulanceConsumtion() - Method in class ch.sahits.game.openpatrician.model.ModelDIFactory
Retrieve the PolulationConsumtion instance
getPopularity() - Method in class ch.sahits.game.openpatrician.model.personal.impl.Reputation
 
getPopularity() - Method in interface ch.sahits.game.openpatrician.model.personal.IReputation
Retrieve the popularity of the player in the city
getPopularityInHerHomeTown() - Method in class ch.sahits.game.openpatrician.model.personal.impl.SpouseData
 
getPopularityInHerHomeTown() - Method in interface ch.sahits.game.openpatrician.model.personal.ISpouseData
Retrieve her popularity in her home town
getPopularityInYourHomeTown() - Method in class ch.sahits.game.openpatrician.model.personal.impl.SpouseData
 
getPopularityInYourHomeTown() - Method in interface ch.sahits.game.openpatrician.model.personal.ISpouseData
Retrieve her popularity in your home town
getPopulation(EPopulationClass) - Method in interface ch.sahits.game.openpatrician.model.city.ICity
Retrieve the current population of the city by class
getPopulation() - Method in interface ch.sahits.game.openpatrician.model.city.ICity
retrieve the total population of the city
getPopulation() - Method in class ch.sahits.game.openpatrician.model.city.impl.City
Retrieve the total population
getPopulation(EPopulationClass) - Method in class ch.sahits.game.openpatrician.model.city.impl.City
Retrieve the population count for a class
getPortrait() - Method in class ch.sahits.game.openpatrician.model.personal.impl.SpouseData
 
getPortrait() - Method in interface ch.sahits.game.openpatrician.model.personal.ISpouseData
Retrieve an optional portrait
getProduction(IWare, ICity, IPlayer) - Method in class ch.sahits.game.openpatrician.model.city.BuildingProduction
Compute the total amount of ware the player produces in the city within a week
getPropertyTax() - Method in interface ch.sahits.game.openpatrician.model.building.IBuilding
Retrieve the amount of property taxes per week
getPropertyTax() - Method in class ch.sahits.game.openpatrician.model.building.TradingOffice
 
getPropertyTaxes() - Method in interface ch.sahits.game.openpatrician.model.IBalanceSheet
Retrieve the property taxes
getPropertyTaxes() - Method in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 
getRandomFirstName() - Static method in class ch.sahits.game.openpatrician.model.AIPlayer
 
getRandomLastName() - Static method in class ch.sahits.game.openpatrician.model.AIPlayer
 
getRank() - Method in interface ch.sahits.game.openpatrician.model.IPlayer
Retrieve the social rank of the player
getRank() - Method in class ch.sahits.game.openpatrician.model.Player
 
getRealMasurement() - Method in enum ch.sahits.game.openpatrician.model.product.EWareSize
Retrieve the measurement converted to the smallest measurement
getRentalIncome() - Method in interface ch.sahits.game.openpatrician.model.IBalanceSheet
Retrieve the rental income
getRentalIncome() - Method in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 
getRentOutStorage() - Method in class ch.sahits.game.openpatrician.model.building.impl.Storage
 
getRentOutStorage() - Method in interface ch.sahits.game.openpatrician.model.building.IStorage
Retrieve the amount of storage in barrels that is rented by someone else
getRentPerTenant() - Method in interface ch.sahits.game.openpatrician.model.building.ITownHouse
Retrieve the rent a tenant has to pay per month
getReputation(IPlayer) - Method in interface ch.sahits.game.openpatrician.model.city.ICity
Retrieve the reputation of the player in the city
getReputation(IPlayer) - Method in class ch.sahits.game.openpatrician.model.city.impl.City
 
getReputationDifference() - Method in class ch.sahits.game.openpatrician.model.personal.impl.Reputation
 
getReputationDifference() - Method in interface ch.sahits.game.openpatrician.model.personal.IReputation
Retrieve the change in reputation within the last week.
getSalary() - Method in interface ch.sahits.game.openpatrician.model.building.ISteward
Retrieve the weekly salary of the steward
getSalaryPerWorker() - Method in interface ch.sahits.game.openpatrician.model.building.IWorkShop
Retrieve the salary a worker earns within a week
getSecurityLevel() - Method in class ch.sahits.game.openpatrician.model.building.impl.Storage
 
getSecurityLevel() - Method in interface ch.sahits.game.openpatrician.model.building.IStorage
Retrieve the security level
getSide() - Method in class ch.sahits.game.openpatrician.model.ship.impl.WeaponsLocation
 
getSize() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Cog
 
getSize() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Crayer
 
getSize() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Holk
 
getSize() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Snaikka
 
getSize() - Method in interface ch.sahits.game.openpatrician.model.ship.IShip
Total capacity of the ship in barrels
getSizeAsBarrels() - Method in enum ch.sahits.game.openpatrician.model.product.EWare
 
getSizeAsBarrels() - Method in interface ch.sahits.game.openpatrician.model.product.IWare
Retrieve the size of the ware converted into the smallest size unit (barrels)
getSlot() - Method in class ch.sahits.game.openpatrician.model.ship.impl.WeaponsLocation
 
getSocialRank() - Method in interface ch.sahits.game.openpatrician.model.city.ICity
Retrieve the social rank in this city
getSocialRank() - Method in class ch.sahits.game.openpatrician.model.city.impl.City
 
getSocialReputation() - Method in enum ch.sahits.game.openpatrician.model.personal.ESocialRank
Retrieve the percentage of social reputation needed for this rank
getSovereignActivity() - Method in class ch.sahits.game.openpatrician.model.Difficulty
 
getSpouseData() - Method in interface ch.sahits.game.openpatrician.model.IPlayer
Retrieve the personal data of the players spouse.
getSpouseData() - Method in class ch.sahits.game.openpatrician.model.Player
 
getStartingCapital() - Method in class ch.sahits.game.openpatrician.model.Difficulty
 
getStartOfWeek() - Method in class ch.sahits.game.openpatrician.model.Date
Retrieve the date of the start of the week in the form {Day of month}.
getStartOfWeekInternal() - Method in class ch.sahits.game.openpatrician.model.Date
Retrieve the date of the start of the last week
getStartYear() - Method in class ch.sahits.game.openpatrician.model.Date
Retrieve the start year
getSteward() - Method in interface ch.sahits.game.openpatrician.model.building.ITradingOffice
Retrieve the steward of the trading office (manager).
getSteward() - Method in class ch.sahits.game.openpatrician.model.building.TradingOffice
 
getStewardCost() - Method in interface ch.sahits.game.openpatrician.model.IBalanceSheet
Retrieve the wages for the stewards
getStewardCost() - Method in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 
getStorage() - Method in interface ch.sahits.game.openpatrician.model.building.ITradingOffice
Retrieve an overview over the storage
getStorage() - Method in class ch.sahits.game.openpatrician.model.building.TradingOffice
 
getStored() - Method in interface ch.sahits.game.openpatrician.model.building.ITradingOffice
Retrieve the total amount of the stored goods
getStored() - Method in class ch.sahits.game.openpatrician.model.building.TradingOffice
 
getTime() - Method in class ch.sahits.game.openpatrician.model.Game
 
getTime() - Method in interface ch.sahits.game.openpatrician.model.IGame
Retrieve the game time
getTotalConsumtion(IWare, ICity) - Method in class ch.sahits.game.openpatrician.model.city.BuildingProduction
Retrieve the amount the workshops consume to produce the ware within a week
getTotalProduction(IWare, ICity) - Method in class ch.sahits.game.openpatrician.model.city.BuildingProduction
Compute the total amount of ware that is produced in the city within a week
getTrade() - Method in class ch.sahits.game.openpatrician.model.Difficulty
 
getUniqueID() - Method in interface ch.sahits.game.openpatrician.model.city.ICity
Retrieve the unique ID of the city.
getUniqueID() - Method in class ch.sahits.game.openpatrician.model.city.impl.Bremen
 
getUniqueID() - Method in class ch.sahits.game.openpatrician.model.city.impl.Cologne
 
getUniqueID() - Method in class ch.sahits.game.openpatrician.model.city.impl.Danzig
 
getUniqueID() - Method in class ch.sahits.game.openpatrician.model.city.impl.Hamburg
 
getUniqueID() - Method in class ch.sahits.game.openpatrician.model.city.impl.Luebeck
 
getUniqueID() - Method in class ch.sahits.game.openpatrician.model.city.impl.Rostock
 
getUniqueID() - Method in class ch.sahits.game.openpatrician.model.city.impl.Stettin
 
getUniqueID() - Method in class ch.sahits.game.openpatrician.model.city.impl.Visby
 
getUpdateInterval() - Method in class ch.sahits.game.openpatrician.model.Date
Retrieve the update interval
getUpgradeSpaceReduction() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Cog
 
getUpgradeSpaceReduction() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Crayer
 
getUpgradeSpaceReduction() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Holk
 
getUpgradeSpaceReduction() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Snaikka
 
getUpgradeSpaceReduction() - Method in interface ch.sahits.game.openpatrician.model.ship.IShip
Retrieve the reduction of the load capacity based on the upgrade level.
getValue() - Method in interface ch.sahits.game.openpatrician.model.building.IBuilding
Retrieve the value of the building
getValue() - Method in class ch.sahits.game.openpatrician.model.building.TradingOffice
 
getValue() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Ship
 
getValue() - Method in interface ch.sahits.game.openpatrician.model.ship.IShip
Retrieve the current value of the ship without its cargo
getWageCosts() - Method in interface ch.sahits.game.openpatrician.model.IBalanceSheet
Retrieve the wage costs
getWageCosts() - Method in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 
getWare(IWare) - Method in interface ch.sahits.game.openpatrician.model.building.ITradingOffice
Retrieve the amount of ware in storage
getWare(IWare) - Method in interface ch.sahits.game.openpatrician.model.city.ICity
Retrieve the amount of ware in the city
getWare(IWare) - Method in class ch.sahits.game.openpatrician.model.impl.WareHolding
Retrieve the AmountablePrice of the ware as it is stored in the holding
getWare(IWare) - Method in class ch.sahits.game.openpatrician.model.ship.impl.Ship
 
getWare(IWare) - Method in interface ch.sahits.game.openpatrician.model.ship.IShip
Retrieve the amount of ware loaded
getWeapon(IWeapon) - Method in class ch.sahits.game.openpatrician.model.building.impl.WeaponStorage
 
getWeapon(IWeapon) - Method in interface ch.sahits.game.openpatrician.model.building.IWeaponStorage
Retrieve the amount of weapons in storage
getWeapon() - Method in class ch.sahits.game.openpatrician.model.ship.impl.WeaponsLocation
 
getWeaponStorage() - Method in interface ch.sahits.game.openpatrician.model.building.ITradingOffice
Retrieve the weapon storage for this trading office
getWeaponStorage() - Method in class ch.sahits.game.openpatrician.model.building.TradingOffice
 
getWeekdayIndex() - Method in class ch.sahits.game.openpatrician.model.Date
Retrieve an index for the current weekday.
getWorkers() - Method in interface ch.sahits.game.openpatrician.model.building.IWorkShop
Retrieve the number of workers in the shop
getYear() - Method in class ch.sahits.game.openpatrician.model.time.DateObject
 
GUARD_COST_PER_DAY - Static variable in class ch.sahits.game.openpatrician.model.building.impl.Storage
 

H

Hamburg - Class in ch.sahits.game.openpatrician.model.city.impl
 
Hamburg() - Constructor for class ch.sahits.game.openpatrician.model.city.impl.Hamburg
 
hashCode() - Method in class ch.sahits.game.openpatrician.model.personal.impl.PersonalData
 
hashCode() - Method in class ch.sahits.game.openpatrician.model.Player
 
hasWeapons() - Method in class ch.sahits.game.openpatrician.model.building.impl.WeaponStorage
 
hasWeapons() - Method in interface ch.sahits.game.openpatrician.model.building.ITradingOffice
check if there are any weapons in storage
hasWeapons() - Method in interface ch.sahits.game.openpatrician.model.building.IWeaponStorage
check if there are any weapons stored
hasWeapons() - Method in class ch.sahits.game.openpatrician.model.building.TradingOffice
 
hasWeapons() - Method in interface ch.sahits.game.openpatrician.model.ship.IConvoy
Though a convoy has always weapons this is only something that is handled on the level of a single ship.
hasWeapons() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Ship
 
hasWeapons() - Method in interface ch.sahits.game.openpatrician.model.ship.IShip
check if weapons are on board
Holk - Class in ch.sahits.game.openpatrician.model.ship.impl
 
Holk(EShipUpgrade, String, int) - Constructor for class ch.sahits.game.openpatrician.model.ship.impl.Holk
Constructor initializing the name and the upgrade level
Holk(String, int) - Constructor for class ch.sahits.game.openpatrician.model.ship.impl.Holk
Constructor for a Crayer without any upgrade
homeTown - Variable in class ch.sahits.game.openpatrician.model.impl.Company
 
hour - Variable in class ch.sahits.game.openpatrician.model.time.DateObject
 

I

IAIPlayer - Interface in ch.sahits.game.openpatrician.model
Player interface defining an artificial player.
IAmountable - Interface in ch.sahits.game.openpatrician.model
This interface marks an object as amountable.
IAutomatedTrading - Interface in ch.sahits.game.openpatrician.model.building
Interface defining the automated trading done by the steward between the city and the office
IBalanceSheet - Interface in ch.sahits.game.openpatrician.model
Interface for balance data of the a week.
IBremen - Interface in ch.sahits.game.openpatrician.model.city
Interface defining the city of Bremen
IBuilding - Interface in ch.sahits.game.openpatrician.model.building
Basic definition of a building.
ICareer - Interface in ch.sahits.game.openpatrician.model.personal
Marker interrface for a career enumeration
ICity - Interface in ch.sahits.game.openpatrician.model.city
Model of a city.
IClockUpdateListenable - Interface in ch.sahits.game.openpatrician.model
Interface defining a listenable object for clock time updates
IClockUpdateListener - Interface in ch.sahits.game.openpatrician.model
Interface that defines the methods for any class that whishes to be notified by Clock changes.
ICog - Interface in ch.sahits.game.openpatrician.model.ship
Interface defining a cog
ICologne - Interface in ch.sahits.game.openpatrician.model.city
Interface defining the city of Cologne.
ICompany - Interface in ch.sahits.game.openpatrician.model
The Company interface represents the company of a player and is mainly used to gather statistics
IConvoy - Interface in ch.sahits.game.openpatrician.model.ship
A convoy is a special representation of a ship.
ICrayer - Interface in ch.sahits.game.openpatrician.model.ship
This interface marks a ship as a crayer.
IDanzig - Interface in ch.sahits.game.openpatrician.model.city
Interface defining the city of Danzig
IEconomicCareer - Interface in ch.sahits.game.openpatrician.model.personal
Interface defining the economic career
IGabledHouse - Interface in ch.sahits.game.openpatrician.model.building
Interface defining a gabled house
IGame - Interface in ch.sahits.game.openpatrician.model
Model of the game.
IHalfTimberedHouse - Interface in ch.sahits.game.openpatrician.model.building
Interface for half timbered houses
IHamburg - Interface in ch.sahits.game.openpatrician.model.city
Interface for the city of Hamburg
IHolk - Interface in ch.sahits.game.openpatrician.model.ship
Interface defining a holk.
ILuebeck - Interface in ch.sahits.game.openpatrician.model.city
This interface defines the city Lübeck.
IMap - Interface in ch.sahits.game.openpatrician.model
Interface defining the map that defines the game plan
IMerchantHouse - Interface in ch.sahits.game.openpatrician.model.building
Interface defining a merchant house
IMilitantCareer - Interface in ch.sahits.game.openpatrician.model.personal
Interface indicating a militant career.
ineffectiveProduction - Variable in class ch.sahits.game.openpatrician.model.city.impl.City
 
init() - Method in class ch.sahits.game.openpatrician.model.ModelDIFactory
 
initialValue - Variable in class ch.sahits.game.openpatrician.model.ship.impl.Ship
Initial value of the ship
initPlayerInCities(IPlayer) - Static method in class ch.sahits.game.openpatrician.model.GameFactory
Init the player data in all cities
initPopulation(Properties) - Method in class ch.sahits.game.openpatrician.model.city.impl.City
Initialize the population of the different classes based on the properties
initWares() - Method in class ch.sahits.game.openpatrician.model.city.impl.City
Init the amount of wares available in the city This method is protected so it can be overriden by subclasses for testing
instance - Static variable in class ch.sahits.game.openpatrician.model.Date
This instance
INSTANCE - Static variable in class ch.sahits.game.openpatrician.model.ModelDIFactory
 
IPeriodicalUpdate - Interface in ch.sahits.game.openpatrician.model.time
A periodical update is a notification based on a fixed period defined at initialisation.
IPersonalData - Interface in ch.sahits.game.openpatrician.model.personal
Defining the personal data of a person.
IPlayer - Interface in ch.sahits.game.openpatrician.model
Player in the game.
IPopulationStructure - Interface in ch.sahits.game.openpatrician.model.city
This interface defines the statistical data of the population of a city, such as population total, population poor, population middleclass, population rich.
IPriceCalculation - Interface in ch.sahits.game.openpatrician.model.product
This interface defines the price calculation algorithm.
IReputation - Interface in ch.sahits.game.openpatrician.model.personal
Indicating the reputation of a player in a city.
IRostrock - Interface in ch.sahits.game.openpatrician.model.city
Interface definition of the city of Rostock.
IShip - Interface in ch.sahits.game.openpatrician.model.ship
Model of a ship
isMale() - Method in interface ch.sahits.game.openpatrician.model.IPlayer
Check if the player is male
isMale() - Method in class ch.sahits.game.openpatrician.model.personal.impl.PersonalData
 
isMale() - Method in interface ch.sahits.game.openpatrician.model.personal.IPersonalData
Check if the player is male
isMale() - Method in class ch.sahits.game.openpatrician.model.Player
 
ISnaikka - Interface in ch.sahits.game.openpatrician.model.ship
This interface defines a snaikka.
isObjectivReached() - Method in class ch.sahits.game.openpatrician.model.Game
 
isObjectivReached() - Method in interface ch.sahits.game.openpatrician.model.IGame
check if the objective of the game is reached.
ISpouseData - Interface in ch.sahits.game.openpatrician.model.personal
Interface defining the personal data of the spouse
isSameDate(DateObject) - Method in class ch.sahits.game.openpatrician.model.time.DateObject
 
IStettin - Interface in ch.sahits.game.openpatrician.model.city
Interface defining the city of Stettin
ISteward - Interface in ch.sahits.game.openpatrician.model.building
Interface defining the steward
IStorage - Interface in ch.sahits.game.openpatrician.model.building
Additional over all ware houses connected to a trading office
isUpgradable() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Ship
 
isUpgradable() - Method in interface ch.sahits.game.openpatrician.model.ship.IShip
Check if the ship can be upgraded
ITownHouse - Interface in ch.sahits.game.openpatrician.model.building
Basic interface defining the town houses
ITradingOffice - Interface in ch.sahits.game.openpatrician.model.building
The trading office (Kontor) is the trading point in a city.
IVisby - Interface in ch.sahits.game.openpatrician.model.city
Interface definition of the city of Visby.
IWare - Interface in ch.sahits.game.openpatrician.model.product
Interface defining a ware.
IWarehouse - Interface in ch.sahits.game.openpatrician.model.building
Interface describing a warehouse
IWeapon - Interface in ch.sahits.game.openpatrician.model.weapon
This interface defines a weapon.
IWeaponStorage - Interface in ch.sahits.game.openpatrician.model.building
Define the stored amount of weapons
IWorkShop - Interface in ch.sahits.game.openpatrician.model.building
This interface represents a workshop, which employs workers

K

kontorType - Variable in class ch.sahits.game.openpatrician.model.city.impl.City
 

L

lastDate - Variable in class ch.sahits.game.openpatrician.model.city.impl.Contributions
 
lastName - Variable in class ch.sahits.game.openpatrician.model.personal.impl.PersonalData
 
lastNameLoader - Static variable in class ch.sahits.game.openpatrician.model.AIPlayer
 
lastWeek - Variable in class ch.sahits.game.openpatrician.model.building.TradingOffice
 
LinearPriceCalculation - Class in ch.sahits.game.openpatrician.model.product
The most simple form of the price calculation algorithm.
LinearPriceCalculation() - Constructor for class ch.sahits.game.openpatrician.model.product.LinearPriceCalculation
 
listener - Variable in class ch.sahits.game.openpatrician.model.time.PeriodicalTimeUpdater
Instance that is to be notified
listeners - Variable in class ch.sahits.game.openpatrician.model.Date
 
load(IWare, int, int) - Method in class ch.sahits.game.openpatrician.model.ship.impl.Ship
Load the ware in the specified amount onto the ship.
load(IWare, int, int) - Method in interface ch.sahits.game.openpatrician.model.ship.IShip
Load the ware in the specified amount onto the ship.
loadedWare - Variable in class ch.sahits.game.openpatrician.model.ship.impl.Ship
Store the wares loaded on the ship together with their amount.
locale - Variable in class ch.sahits.game.openpatrician.model.city.impl.City
 
locale - Variable in enum ch.sahits.game.openpatrician.model.product.EWare
 
locale - Variable in enum ch.sahits.game.openpatrician.model.weapon.EWeapon
 
lock - Static variable in class ch.sahits.game.openpatrician.model.Date
Lock for guaranteeing thread safty
logger - Static variable in class ch.sahits.game.openpatrician.model.impl.Company
 
Luebeck - Class in ch.sahits.game.openpatrician.model.city.impl
Implementation of the city Lübeck
Luebeck() - Constructor for class ch.sahits.game.openpatrician.model.city.impl.Luebeck
 

M

male - Variable in class ch.sahits.game.openpatrician.model.personal.impl.PersonalData
 
map - Variable in class ch.sahits.game.openpatrician.model.Game
 
marry(ISpouseData) - Method in class ch.sahits.game.openpatrician.model.Player
Marry a spouse
MAX_CAPACITY - Static variable in class ch.sahits.game.openpatrician.model.building.TradingOffice
Maximal capacity of the trading office in barrels
maxValueBuy - Variable in enum ch.sahits.game.openpatrician.model.product.EWare
 
maxValueSell - Variable in enum ch.sahits.game.openpatrician.model.product.EWare
 
MERCHANT - Static variable in class ch.sahits.game.openpatrician.model.Difficulty
 
messages - Variable in class ch.sahits.game.openpatrician.model.Date
 
minute - Variable in class ch.sahits.game.openpatrician.model.time.DateObject
 
minValueBuy - Variable in enum ch.sahits.game.openpatrician.model.product.EWare
 
minValueSell - Variable in enum ch.sahits.game.openpatrician.model.product.EWare
 
ModelDIFactory - Class in ch.sahits.game.openpatrician.model
 
ModelDIFactory() - Constructor for class ch.sahits.game.openpatrician.model.ModelDIFactory
Make the constructor portected to ensure it only can be called from super classes implementing the singleton pattern
month - Variable in class ch.sahits.game.openpatrician.model.time.DateObject
 
move(IWare, int) - Method in interface ch.sahits.game.openpatrician.model.building.ITradingOffice
Add or remove ware from the storage.
move(IWeapon, int) - Method in interface ch.sahits.game.openpatrician.model.building.ITradingOffice
Add or remove weapon from the storage.
move(IWare, int, int) - Method in interface ch.sahits.game.openpatrician.model.building.ITradingOffice
Move the ware into/from the storage with a price attached.
move(IWeapon, int) - Method in class ch.sahits.game.openpatrician.model.building.TradingOffice
/** Add or remove weapon from the storage. This method is thread save.
move(IWare, int, int) - Method in class ch.sahits.game.openpatrician.model.building.TradingOffice
Move the ware into/from the storage with a price attached.
move(IWare, int) - Method in class ch.sahits.game.openpatrician.model.building.TradingOffice
 
move(IWare, int, IPlayer) - Method in interface ch.sahits.game.openpatrician.model.city.ICity
Add or remove ware from the city.
move(IWare, int, IPlayer) - Method in class ch.sahits.game.openpatrician.model.city.impl.City
Move ware into this holding.
move(IWare, int, IPlayer) - Method in class ch.sahits.game.openpatrician.model.impl.WareHolding
Move ware into this holding.
moveIn(IPlayer) - Method in interface ch.sahits.game.openpatrician.model.city.ICity
Add a player to the city
moveIn(IPlayer) - Method in class ch.sahits.game.openpatrician.model.city.impl.City
 

N

name - Variable in class ch.sahits.game.openpatrician.model.city.impl.City
 
name - Variable in class ch.sahits.game.openpatrician.model.personal.impl.PersonalData
 
name() - Method in interface ch.sahits.game.openpatrician.model.product.IWare
As this interface is implemented by an enumeration add this method
name - Variable in class ch.sahits.game.openpatrician.model.ship.impl.Ship
Name of the ship
name() - Method in interface ch.sahits.game.openpatrician.model.weapon.IWeapon
As this interface is implemented by an enumeration add this method
navalBattle - Variable in class ch.sahits.game.openpatrician.model.Difficulty
Naval battle strength: at higher levels the opponents navigate more intelligent.
nbChildren - Variable in class ch.sahits.game.openpatrician.model.personal.impl.SpouseData
 
nbGuards - Variable in class ch.sahits.game.openpatrician.model.building.impl.Storage
 
need - Variable in class ch.sahits.game.openpatrician.model.Difficulty
Need of civilians: at higher levels the citicens are more easily unhappy when certain wares are missing.
needs - Variable in class ch.sahits.game.openpatrician.model.city.PopulationConsume
Store the amounts
newChild() - Method in class ch.sahits.game.openpatrician.model.personal.impl.SpouseData
 
newChild() - Method in interface ch.sahits.game.openpatrician.model.personal.ISpouseData
New child is born to you
notifier - Variable in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 
notify(DateObject) - Method in class ch.sahits.game.openpatrician.model.building.impl.Storage
 
notify(DateObject) - Method in class ch.sahits.game.openpatrician.model.building.TradingOffice
 
notify(DateObject) - Method in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 
notify(DateObject) - Method in class ch.sahits.game.openpatrician.model.impl.Company
 
notify(DateObject) - Method in class ch.sahits.game.openpatrician.model.personal.impl.Reputation
 
notify(DateObject) - Method in interface ch.sahits.game.openpatrician.model.time.IPeriodicalUpdate
The time defined as period has passed and it is now date
notifyTick() - Method in class ch.sahits.game.openpatrician.model.Date
 
notifyTick() - Method in interface ch.sahits.game.openpatrician.model.IClockUpdateListenable
Notify all registered listeners of a clock tick
notifyTickUpdate() - Method in class ch.sahits.game.openpatrician.model.Date
 
notifyTickUpdate() - Method in interface ch.sahits.game.openpatrician.model.IClockUpdateListenable
Notify all registered listeners of the change in update tick size in minutes
numberOfShips - Variable in class ch.sahits.game.openpatrician.model.Difficulty
Number of starting ships

O

objective - Variable in class ch.sahits.game.openpatrician.model.Game
 
officeTrading - Variable in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 
officeTradingDays - Variable in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 
otherCosts - Variable in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 
otherCostsDays - Variable in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 
owner - Variable in class ch.sahits.game.openpatrician.model.building.impl.Storage
 
owner - Variable in class ch.sahits.game.openpatrician.model.impl.Company
 

P

PATRICIAN - Static variable in class ch.sahits.game.openpatrician.model.Difficulty
 
PeriodicalTimeUpdater - Class in ch.sahits.game.openpatrician.model.time
The periodical time updater encapsules clock ticks of instances that are interested in notification but only on a periodical level.
PeriodicalTimeUpdater(EUpdateIntervalRegistration, IPeriodicalUpdate) - Constructor for class ch.sahits.game.openpatrician.model.time.PeriodicalTimeUpdater
 
PersonalData - Class in ch.sahits.game.openpatrician.model.personal.impl
 
PersonalData(String, String, boolean, ICity, DateObject) - Constructor for class ch.sahits.game.openpatrician.model.personal.impl.PersonalData
Initialize personal data without portrait
personalData - Variable in class ch.sahits.game.openpatrician.model.Player
 
pirateActivity - Variable in class ch.sahits.game.openpatrician.model.Difficulty
Pirate activity: at higher levels there are more pirates that are more havily armed.
player - Variable in class ch.sahits.game.openpatrician.model.building.TradingOffice
Reference to the player
player - Variable in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 
player - Variable in class ch.sahits.game.openpatrician.model.personal.impl.Reputation
 
Player - Class in ch.sahits.game.openpatrician.model
 
Player(ICity, IPersonalData, long, ESocialRank) - Constructor for class ch.sahits.game.openpatrician.model.Player
 
playersContributions - Variable in class ch.sahits.game.openpatrician.model.city.impl.City
Store the contibutions of the players
popHer - Variable in class ch.sahits.game.openpatrician.model.personal.impl.SpouseData
 
population - Variable in class ch.sahits.game.openpatrician.model.city.impl.City
Holding the population split by population classes
PopulationConsume - Class in ch.sahits.game.openpatrician.model.city
This class defines the amount of wares consumed by each populace class.
PopulationConsume(String) - Constructor for class ch.sahits.game.openpatrician.model.city.PopulationConsume
Initialize the needs structure based on a property file
popYour - Variable in class ch.sahits.game.openpatrician.model.personal.impl.SpouseData
 
portrait - Variable in class ch.sahits.game.openpatrician.model.personal.impl.SpouseData
 
producer - Variable in class ch.sahits.game.openpatrician.model.people.ReputationCalculator
 
productionRates - Variable in class ch.sahits.game.openpatrician.model.city.CityProduction
 
propertyTaxes - Variable in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 
propertyTaxesDays - Variable in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 

R

rank - Variable in class ch.sahits.game.openpatrician.model.Player
 
remove(int) - Method in class ch.sahits.game.openpatrician.model.BaseAmountable
Remove a number of items
remove(IClockUpdateListener) - Method in class ch.sahits.game.openpatrician.model.Date
 
remove(IClockUpdateListener) - Method in interface ch.sahits.game.openpatrician.model.IClockUpdateListenable
Remove a listener from the queue
remove(int) - Method in class ch.sahits.game.openpatrician.model.product.AmountablePrice
Remove a number of items
removeShip(IShip) - Method in interface ch.sahits.game.openpatrician.model.IPlayer
Remove a ship for the player
removeShip(IShip) - Method in class ch.sahits.game.openpatrician.model.Player
 
RENT_COST_PER_DAY_AND_BALE - Static variable in class ch.sahits.game.openpatrician.model.building.impl.Storage
 
rentalIncome - Variable in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 
rentalIncomeDays - Variable in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 
rentOutStorage - Variable in class ch.sahits.game.openpatrician.model.building.impl.Storage
 
repair() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Cog
 
repair() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Crayer
 
repair() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Holk
 
repair() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Snaikka
 
repair() - Method in interface ch.sahits.game.openpatrician.model.ship.IShip
Repair the damage
repCalc - Variable in class ch.sahits.game.openpatrician.model.personal.impl.Reputation
 
reputation - Variable in class ch.sahits.game.openpatrician.model.city.impl.City
Map holding the reputation of the different players
Reputation - Class in ch.sahits.game.openpatrician.model.personal.impl
Implementation of the reputation.
Reputation(ICity, IPlayer) - Constructor for class ch.sahits.game.openpatrician.model.personal.impl.Reputation
 
ReputationCalculator - Class in ch.sahits.game.openpatrician.model.people
Calculator for a players reputation
ReputationCalculator() - Constructor for class ch.sahits.game.openpatrician.model.people.ReputationCalculator
 
reputationCurrentWeek - Variable in class ch.sahits.game.openpatrician.model.personal.impl.Reputation
 
reputationLastWeek - Variable in class ch.sahits.game.openpatrician.model.personal.impl.Reputation
 
rnd - Static variable in class ch.sahits.game.openpatrician.model.GameFactory
 
Rostock - Class in ch.sahits.game.openpatrician.model.city.impl
 
Rostock() - Constructor for class ch.sahits.game.openpatrician.model.city.impl.Rostock
 

S

saturation - Variable in enum ch.sahits.game.openpatrician.model.product.EWare
 
setGameSpeed(EGameSpeed) - Method in class ch.sahits.game.openpatrician.model.Game
 
setGameSpeed(EGameSpeed) - Method in interface ch.sahits.game.openpatrician.model.IGame
Set a new game speed
setName(String) - Method in class ch.sahits.game.openpatrician.model.ship.impl.Ship
 
setName(String) - Method in interface ch.sahits.game.openpatrician.model.ship.IShip
Set the ships name
setPopulation(int, EPopulationClass) - Method in interface ch.sahits.game.openpatrician.model.city.ICity
Set the population by class
setPopulation(int, EPopulationClass) - Method in class ch.sahits.game.openpatrician.model.city.impl.City
Set the population count for a apopulation class
setTickUpdate(int) - Method in class ch.sahits.game.openpatrician.model.Date
Set the tick update in number of minutes
Ship - Class in ch.sahits.game.openpatrician.model.ship.impl
 
Ship(int) - Constructor for class ch.sahits.game.openpatrician.model.ship.impl.Ship
 
ShipFactory - Class in ch.sahits.game.openpatrician.model.ship
This factory class creates ship instances.
ShipFactory() - Constructor for class ch.sahits.game.openpatrician.model.ship.ShipFactory
 
side - Variable in class ch.sahits.game.openpatrician.model.ship.impl.WeaponsLocation
Side of the ship either port or starboard
SimplePriceCalculation - Class in ch.sahits.game.openpatrician.model.product
This is a very simple implementation of the price calculation algorithm.
SimplePriceCalculation() - Constructor for class ch.sahits.game.openpatrician.model.product.SimplePriceCalculation
 
size - Variable in enum ch.sahits.game.openpatrician.model.product.EWare
 
size - Variable in enum ch.sahits.game.openpatrician.model.product.EWareSize
 
size - Variable in class ch.sahits.game.openpatrician.model.ship.impl.Cog
Size in barrels
size - Variable in class ch.sahits.game.openpatrician.model.ship.impl.Crayer
Size in barrels
size - Variable in class ch.sahits.game.openpatrician.model.ship.impl.Holk
Size in barrels
size - Variable in class ch.sahits.game.openpatrician.model.ship.impl.Snaikka
Size in barrels
slot - Variable in class ch.sahits.game.openpatrician.model.ship.impl.WeaponsLocation
Slot that is occupied by the weapon.
Snaikka - Class in ch.sahits.game.openpatrician.model.ship.impl
 
Snaikka(EShipUpgrade, String, int) - Constructor for class ch.sahits.game.openpatrician.model.ship.impl.Snaikka
Constructor initializing the name and the upgrade level
Snaikka(String, int) - Constructor for class ch.sahits.game.openpatrician.model.ship.impl.Snaikka
Constructor for a Crayer without any upgrade
socialRank - Variable in enum ch.sahits.game.openpatrician.model.personal.ESocialRank
 
sovereignActivity - Variable in class ch.sahits.game.openpatrician.model.Difficulty
Activity of the sovereign: at higher levels the sovereign uses larger armies and sieges do happen more often.
speed - Variable in class ch.sahits.game.openpatrician.model.Game
 
spouse - Variable in class ch.sahits.game.openpatrician.model.Player
 
SpouseData - Class in ch.sahits.game.openpatrician.model.personal.impl
 
SpouseData(String, String, boolean, ICity, DateObject, int, int, int, int, BufferedImage) - Constructor for class ch.sahits.game.openpatrician.model.personal.impl.SpouseData
 
startingCapital - Variable in class ch.sahits.game.openpatrician.model.Difficulty
starting capital
startUpdate() - Method in interface ch.sahits.game.openpatrician.model.IBalanceSheet
Start updating the balance sheet with daily updates
startUpdate() - Method in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 
startYear - Variable in class ch.sahits.game.openpatrician.model.Date
Start year
Stettin - Class in ch.sahits.game.openpatrician.model.city.impl
 
Stettin() - Constructor for class ch.sahits.game.openpatrician.model.city.impl.Stettin
 
stewardCosts - Variable in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 
stewardCostsDays - Variable in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 
stop() - Method in class ch.sahits.game.openpatrician.model.time.PeriodicalTimeUpdater
Stop notifiyng the listener
stopUpdate() - Method in interface ch.sahits.game.openpatrician.model.IBalanceSheet
Stop updating the balance sheet with daily updates
stopUpdate() - Method in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 
Storage - Class in ch.sahits.game.openpatrician.model.building.impl
 
Storage(IPlayer, ICity) - Constructor for class ch.sahits.game.openpatrician.model.building.impl.Storage
 
storage - Variable in class ch.sahits.game.openpatrician.model.building.impl.WeaponStorage
 
storage - Variable in class ch.sahits.game.openpatrician.model.building.TradingOffice
 
sum - Variable in class ch.sahits.game.openpatrician.model.product.AmountablePrice
Total price of all amounted items

T

tearDown(IBuilding) - Method in interface ch.sahits.game.openpatrician.model.city.ICity
Add a new building to the city
tearDown(IBuilding) - Method in class ch.sahits.game.openpatrician.model.city.impl.City
Remove a building from the list of buildings in the city
tick() - Method in class ch.sahits.game.openpatrician.model.Date
Update the time by one tick.
ticked() - Method in interface ch.sahits.game.openpatrician.model.IClockUpdateListener
Clock ticked once
ticked() - Method in class ch.sahits.game.openpatrician.model.time.PeriodicalTimeUpdater
 
tickInterval - Variable in class ch.sahits.game.openpatrician.model.time.PeriodicalTimeUpdater
Period of the clock ticking
timePassed - Variable in class ch.sahits.game.openpatrician.model.time.PeriodicalTimeUpdater
Time passed since the last notification
toDisplayString() - Method in class ch.sahits.game.openpatrician.model.Date
Create a string representation for the user interface of the form {Day of month}.
todisplayString(int, int, int) - Method in class ch.sahits.game.openpatrician.model.Date
 
toDisplayString() - Method in class ch.sahits.game.openpatrician.model.time.DateObject
Representation that can be displayed
toShortDate(Calendar) - Method in class ch.sahits.game.openpatrician.model.Date
Convert the date into the form {Day in month}.
toString() - Method in class ch.sahits.game.openpatrician.model.BaseAmountable
 
toString() - Method in class ch.sahits.game.openpatrician.model.product.AmountablePrice
 
trade - Variable in class ch.sahits.game.openpatrician.model.Difficulty
Difficulty trade: at higher settings the buying prices are higher and the selling prices, thus reducing the margin of profit
TRADESMAN - Static variable in class ch.sahits.game.openpatrician.model.Difficulty
 
TradingOffice - Class in ch.sahits.game.openpatrician.model.building
Implementation of the trading office
TradingOffice(IPlayer, ICity, int) - Constructor for class ch.sahits.game.openpatrician.model.building.TradingOffice
 

U

unload(IWare, int) - Method in class ch.sahits.game.openpatrician.model.ship.impl.Ship
Unload the specified quantity of the ware.
unload(IWare, int) - Method in interface ch.sahits.game.openpatrician.model.ship.IShip
Unload the specified quantity of the ware.
update(IWeapon, int) - Method in class ch.sahits.game.openpatrician.model.building.impl.WeaponStorage
 
update(IWeapon, int) - Method in interface ch.sahits.game.openpatrician.model.building.IWeaponStorage
Move weapons in or out of storage
update - Variable in class ch.sahits.game.openpatrician.model.Date
Tick update in minutes
updateCash(long) - Method in interface ch.sahits.game.openpatrician.model.ICompany
Add or subtract some cash
updateCash(long) - Method in class ch.sahits.game.openpatrician.model.impl.Company
Add or subtract some cash
updateCash(int) - Method in interface ch.sahits.game.openpatrician.model.IPlayer
Change the available cash of the player
updateCash(int) - Method in class ch.sahits.game.openpatrician.model.Player
Add or subtract some cash
updateGuardsNumber(int) - Method in class ch.sahits.game.openpatrician.model.building.impl.Storage
 
updateGuardsNumber(int) - Method in interface ch.sahits.game.openpatrician.model.building.IStorage
Increase or decrease the number of guards
updateInterval - Variable in class ch.sahits.game.openpatrician.model.time.PeriodicalTimeUpdater
Period that the listener should be notified
updateRank(ESocialRank) - Method in interface ch.sahits.game.openpatrician.model.IPlayer
Update to the new social rank
updateRank(ESocialRank) - Method in class ch.sahits.game.openpatrician.model.Player
 
updateRendedSpace(int) - Method in class ch.sahits.game.openpatrician.model.building.impl.Storage
 
updateRendedSpace(int) - Method in interface ch.sahits.game.openpatrician.model.building.IStorage
Update the rented out space
updateTick(int) - Method in interface ch.sahits.game.openpatrician.model.IClockUpdateListener
The update size of a tick changed.
updateTick(int) - Method in class ch.sahits.game.openpatrician.model.time.PeriodicalTimeUpdater
 
upgrade() - Method in class ch.sahits.game.openpatrician.model.ship.impl.Ship
 
upgrade() - Method in interface ch.sahits.game.openpatrician.model.ship.IShip
Upgrade the ship if it is upgradable
upgradeLevel - Variable in class ch.sahits.game.openpatrician.model.ship.impl.Ship
State of the design standard level

V

valueOf(String) - Static method in enum ch.sahits.game.openpatrician.model.building.ELevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.openpatrician.model.city.ECityName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.openpatrician.model.city.ECityState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.openpatrician.model.city.EKontorType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.openpatrician.model.city.EPopulationClass
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.openpatrician.model.EDifficultyLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.openpatrician.model.EGameSpeed
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.openpatrician.model.EObjective
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.openpatrician.model.EPlayerStateChange
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.openpatrician.model.personal.EEconomicCareer
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.openpatrician.model.personal.EMilitantCareer
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.openpatrician.model.personal.ESocialRank
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.openpatrician.model.product.EWare
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.openpatrician.model.product.EWareSize
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.openpatrician.model.ship.EShipSide
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.openpatrician.model.ship.EShipUpgrade
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.openpatrician.model.time.EUpdateIntervalRegistration
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.sahits.game.openpatrician.model.weapon.EWeapon
Returns the enum constant of this type with the specified name.
values() - Static method in enum ch.sahits.game.openpatrician.model.building.ELevel
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.model.city.ECityName
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.model.city.ECityState
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.model.city.EKontorType
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.model.city.EPopulationClass
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.model.EDifficultyLevel
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.model.EGameSpeed
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.model.EObjective
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.model.EPlayerStateChange
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.model.personal.EEconomicCareer
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.model.personal.EMilitantCareer
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.model.personal.ESocialRank
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.model.product.EWare
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.model.product.EWareSize
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.model.ship.EShipSide
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.model.ship.EShipUpgrade
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.model.time.EUpdateIntervalRegistration
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.model.weapon.EWeapon
Returns an array containing the constants of this enum type, in the order they are declared.
Visby - Class in ch.sahits.game.openpatrician.model.city.impl
 
Visby() - Constructor for class ch.sahits.game.openpatrician.model.city.impl.Visby
 

W

wageCosts - Variable in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 
wageCostsDays - Variable in class ch.sahits.game.openpatrician.model.impl.BalanceSheet
 
WareHolding - Class in ch.sahits.game.openpatrician.model.impl
This class represents an entity that can hold wares which can be moved
WareHolding() - Constructor for class ch.sahits.game.openpatrician.model.impl.WareHolding
 
wareID - Variable in enum ch.sahits.game.openpatrician.model.product.EWare
 
wares - Variable in class ch.sahits.game.openpatrician.model.impl.WareHolding
Store the amount of wares in the city in the ware specific sizes
weapon - Variable in class ch.sahits.game.openpatrician.model.ship.impl.WeaponsLocation
The weapon in the slot
weapons - Variable in class ch.sahits.game.openpatrician.model.building.TradingOffice
Weapons storage
weapons - Variable in class ch.sahits.game.openpatrician.model.ship.impl.Ship
List of the weapons on board together with their location
WeaponsLocation - Class in ch.sahits.game.openpatrician.model.ship.impl
This class defines a weapon and its location on board a ship.
WeaponsLocation(EShipSide, EWeapon, int) - Constructor for class ch.sahits.game.openpatrician.model.ship.impl.WeaponsLocation
 
WeaponStorage - Class in ch.sahits.game.openpatrician.model.building.impl
Implementation for the storage of weapons
WeaponStorage() - Constructor for class ch.sahits.game.openpatrician.model.building.impl.WeaponStorage
 
widow() - Method in class ch.sahits.game.openpatrician.model.Player
Widow and become unmarried again

Y

year - Variable in class ch.sahits.game.openpatrician.model.time.DateObject
 

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

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