|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of ICity in ch.sahits.game.openpatrician.model |
|---|
| Fields in ch.sahits.game.openpatrician.model with type parameters of type ICity | |
|---|---|
private LinkedList<ICity> |
GameMap.cities
|
| Methods in ch.sahits.game.openpatrician.model that return ICity | |
|---|---|
ICity |
IPlayer.getHometown()
Retrieve the players hometown |
ICity |
Player.getHometown()
|
ICity |
ICompany.getHomeTown()
Retrieve the home town of the company |
| Methods in ch.sahits.game.openpatrician.model that return types with arguments of type ICity | |
|---|---|
List<ICity> |
GameMap.getCities()
|
List<ICity> |
IMap.getCities()
Retrieve an unmodifiable list of all the cities in the map |
| Methods in ch.sahits.game.openpatrician.model with parameters of type ICity | |
|---|---|
static IPlayer |
GameFactory.createAIPlayer(ICity homeTown,
long cash)
Create an artifiacial player instance. |
static IPlayer |
GameFactory.createPlayer(String name,
String lastName,
ICity homeTown,
boolean male,
int cash)
Create a human player instance. |
List<IBuilding> |
IPlayer.findBuildings(ICity city)
Find all buildings of the player in the city |
List<IBuilding> |
Player.findBuildings(ICity city)
|
List<IBuilding> |
IPlayer.findBuildings(ICity city,
Class<? extends IBuilding> buildingClass)
Find all buildings in the city that are some subtype of the indicated class |
List<IBuilding> |
Player.findBuildings(ICity city,
Class<? extends IBuilding> buildingClass)
|
ITradingOffice |
IPlayer.findTradingOffice(ICity city)
Find the trading office of the player in the city. |
ITradingOffice |
Player.findTradingOffice(ICity city)
|
private static PersonalData |
AIPlayer.getPersonalData(ICity homeTown,
DateObject birthDate)
|
| Constructors in ch.sahits.game.openpatrician.model with parameters of type ICity | |
|---|---|
AIPlayer(ICity homeTown,
long cash,
DateObject birthDate)
|
|
GameMap(ICity... cities)
Initialize the map by means of a list of its cities. |
|
Player(ICity homeTown,
IPersonalData personalData,
long cash,
ESocialRank rank)
|
|
| Uses of ICity in ch.sahits.game.openpatrician.model.building |
|---|
| Fields in ch.sahits.game.openpatrician.model.building declared as ICity | |
|---|---|
private ICity |
TradingOffice.city
Reference to the city the trading office is located in |
| Methods in ch.sahits.game.openpatrician.model.building with parameters of type ICity | |
|---|---|
static ITradingOffice |
BuildingFactory.createTridingOffice(IPlayer player,
ICity city,
int value)
Create a new trading office in the city. |
| Constructors in ch.sahits.game.openpatrician.model.building with parameters of type ICity | |
|---|---|
TradingOffice(IPlayer player,
ICity city,
int value)
|
|
| Uses of ICity in ch.sahits.game.openpatrician.model.building.impl |
|---|
| Fields in ch.sahits.game.openpatrician.model.building.impl declared as ICity | |
|---|---|
private ICity |
Storage.city
|
| Constructors in ch.sahits.game.openpatrician.model.building.impl with parameters of type ICity | |
|---|---|
Storage(IPlayer owner,
ICity city)
|
|
| Uses of ICity in ch.sahits.game.openpatrician.model.city |
|---|
| Subinterfaces of ICity in ch.sahits.game.openpatrician.model.city | |
|---|---|
interface |
IBremen
Interface defining the city of Bremen |
interface |
ICologne
Interface defining the city of Cologne. |
interface |
IDanzig
Interface defining the city of Danzig |
interface |
IHamburg
Interface for the city of Hamburg |
interface |
ILuebeck
This interface defines the city Lübeck. |
interface |
IRostrock
Interface definition of the city of Rostock. |
interface |
IStettin
Interface defining the city of Stettin |
interface |
IVisby
Interface definition of the city of Visby. |
| Fields in ch.sahits.game.openpatrician.model.city with type parameters of type ICity | |
|---|---|
private static ConcurrentHashMap<String,ICity> |
CityFactory.createdCityCache
Cache storing the already created cities to avoid duplicate creation |
| Methods in ch.sahits.game.openpatrician.model.city that return ICity | |
|---|---|
static ICity |
CityFactory.createCityByName(ECityName cityName)
Create a standard city based on its unique identification |
static ICity |
CityFactory.createCityByName(String cityName)
Create a standard city based on its name |
private static ICity |
CityFactory.createIfNotStroed(ECityName name)
Retrieve the city from the cache or create the city and put it there. |
| Methods in ch.sahits.game.openpatrician.model.city with parameters of type ICity | |
|---|---|
int |
BuildingProduction.getConsumption(IWare ware,
ICity city,
IPlayer player)
Retrieve the amount of ware that all the workshops of a player consume within a week |
int |
BuildingProduction.getProduction(IWare ware,
ICity city,
IPlayer player)
Compute the total amount of ware the player produces in the city within a week |
int |
BuildingProduction.getTotalConsumtion(IWare ware,
ICity city)
Retrieve the amount the workshops consume to produce the ware within a week |
int |
BuildingProduction.getTotalProduction(IWare ware,
ICity city)
Compute the total amount of ware that is produced in the city within a week |
| Uses of ICity in ch.sahits.game.openpatrician.model.city.impl |
|---|
| Classes in ch.sahits.game.openpatrician.model.city.impl that implement ICity | |
|---|---|
class |
Bremen
|
(package private) class |
City
Implementation of the city model. |
class |
Cologne
|
class |
Danzig
|
class |
Hamburg
|
class |
Luebeck
Implementation of the city Lübeck |
class |
Rostock
|
class |
Stettin
|
class |
Visby
|
| Uses of ICity in ch.sahits.game.openpatrician.model.impl |
|---|
| Fields in ch.sahits.game.openpatrician.model.impl declared as ICity | |
|---|---|
private ICity |
BalanceSheet.city
|
private ICity |
Company.homeTown
|
| Methods in ch.sahits.game.openpatrician.model.impl that return ICity | |
|---|---|
ICity |
Company.getHomeTown()
|
| Constructors in ch.sahits.game.openpatrician.model.impl with parameters of type ICity | |
|---|---|
BalanceSheet(ICity city,
IPlayer player)
Initialize a blank sheet |
|
Company(IPlayer owner,
ICity homeTown,
long cash)
|
|
| Uses of ICity in ch.sahits.game.openpatrician.model.people |
|---|
| Methods in ch.sahits.game.openpatrician.model.people with parameters of type ICity | |
|---|---|
int |
ReputationCalculator.calculateWareRepputation(ICity city,
IPlayer player)
Check each ware if the player contributes and what amount. |
| Uses of ICity in ch.sahits.game.openpatrician.model.personal |
|---|
| Methods in ch.sahits.game.openpatrician.model.personal that return ICity | |
|---|---|
ICity |
IPersonalData.getBirthPlace()
Retrieve the birth place |
| Uses of ICity in ch.sahits.game.openpatrician.model.personal.impl |
|---|
| Fields in ch.sahits.game.openpatrician.model.personal.impl declared as ICity | |
|---|---|
private ICity |
PersonalData.birthplace
|
private ICity |
Reputation.city
|
| Methods in ch.sahits.game.openpatrician.model.personal.impl that return ICity | |
|---|---|
ICity |
PersonalData.getBirthPlace()
|
| Constructors in ch.sahits.game.openpatrician.model.personal.impl with parameters of type ICity | |
|---|---|
PersonalData(String name,
String lastName,
boolean male,
ICity birthplace,
DateObject birthDate)
Initialize personal data without portrait |
|
Reputation(ICity city,
IPlayer player)
|
|
SpouseData(String name,
String lastName,
boolean male,
ICity birthplace,
DateObject birthDate,
int popHer,
int popYour,
int conHer,
int conYour,
BufferedImage portrait)
|
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||