| Modifier and Type | Interface and Description |
|---|---|
interface |
IAIPlayer
Player interface defining an artificial player.
|
interface |
IHumanPlayer
This player represents a human player.
|
| Modifier and Type | Field and Description |
|---|---|
private List<IPlayer> |
PlayerList.players |
| Modifier and Type | Method and Description |
|---|---|
IPlayer |
PlayerList.get(int index) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<IPlayer> |
PlayerList.iterator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
PlayerList.add(IPlayer player) |
void |
IMap.buildSettlement(ICity city,
IPlayer player)
Add the settlement for the player.
|
ICompany |
GameFactory.createCompany(IPlayer owner,
ICity homeTown,
long cash) |
List<ICity> |
IMap.getCities(IPlayer player)
Retrieve an unmodifiable list of all the cities in the map also including the once only visible to the player.
|
private void |
GameFactory.initPlayerInCities(IPlayer player)
Init the player data in all cities
|
| Modifier and Type | Method and Description |
|---|---|
IPlayer |
IBuilding.getOwner()
Retrieve the owner of the trading office
|
| Modifier and Type | Field and Description |
|---|---|
private IPlayer |
TradingOffice.owner
Reference to the player
|
private IPlayer |
Storage.owner |
| Constructor and Description |
|---|
Storage(IPlayer owner,
ICity city) |
TradingOffice(IPlayer player,
ICity city,
int value) |
| Modifier and Type | Method and Description |
|---|---|
List<IPlayer> |
ICity.getResidentPlayers()
Retrieve all the players that have a office in this city.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
ICity.getContribution(IPlayer player,
IWare ware)
Check out what the player contributed to the ware
|
int |
BuildingProduction.getProduction(IWare ware,
ICity city,
IPlayer player)
Compute the total amount of ware the player produces in the city within a week
|
IReputation |
ICity.getReputation(IPlayer player)
Retrieve the reputation of the player in the city
|
void |
ICity.moveIn(IPlayer player)
Add a player to the city
|
| Modifier and Type | Method and Description |
|---|---|
<T extends IBuilding> |
ICity.findBuilding(Class<T> buildingClass,
Optional<IPlayer> owner)
Find all matching buildings in a city.
|
| Modifier and Type | Field and Description |
|---|---|
private Map<IAldermanTask,IPlayer> |
AldermanTaskPlayerMap.takenTasks
List of alderman tasks that were taken and must be checked.
|
| Modifier and Type | Method and Description |
|---|---|
IPlayer |
IAcceptedAldermanTask.getPlayer() |
| Modifier and Type | Method and Description |
|---|---|
void |
IAldermanOffice.addTask(IAldermanTask task,
org.joda.time.DateTime limit,
IPlayer player)
Add a new task that is currently worked on.
|
void |
AldermanTaskPlayerMap.assignTask(IPlayer player,
IAldermanTask task) |
| Modifier and Type | Field and Description |
|---|---|
private IPlayer |
AcceptedAldermanTask.player |
| Modifier and Type | Method and Description |
|---|---|
void |
AldermanOffice.addTask(IAldermanTask task,
org.joda.time.DateTime limit,
IPlayer player) |
| Constructor and Description |
|---|
AcceptedAldermanTask(IAldermanTask task,
org.joda.time.DateTime deadline,
IPlayer player) |
| Modifier and Type | Field and Description |
|---|---|
private Map<IPlayer,Contributions> |
City.playersContributions
Store the contibutions of the players
|
private Map<IPlayer,IReputation> |
City.reputation
Map holding the reputation of the different players
|
private javafx.beans.property.MapProperty<IPerson,IPlayer> |
TavernState.talkingTo |
| Modifier and Type | Method and Description |
|---|---|
List<IPlayer> |
City.getResidentPlayers() |
javafx.beans.property.MapProperty<IPerson,IPlayer> |
TavernState.talkingToProperty() |
| Modifier and Type | Method and Description |
|---|---|
int |
City.getContribution(IPlayer player,
IWare ware) |
IReputation |
City.getReputation(IPlayer player) |
boolean |
TavernState.isTalkingToOtherPlayer(ITavernPerson person,
IPlayer player) |
void |
City.moveIn(IPlayer player) |
| Modifier and Type | Method and Description |
|---|---|
<T extends IBuilding> |
City.findBuilding(Class<T> buildingClass,
Optional<IPlayer> owner) |
| Modifier and Type | Field and Description |
|---|---|
private IPlayer |
BuildingFinished.owner |
| Modifier and Type | Method and Description |
|---|---|
BalanceSheet |
PlayerInteractionFactory.createInitialBalanceSheet(ICity city,
IPlayer player)
Create an initial balance sheet for player in city.
|
Reputation |
PlayerInteractionFactory.createReputation(ICity city,
IPlayer player) |
IStorage |
BuildingFactory.createStorage(IPlayer owner,
ICity city) |
ITradingOffice |
BuildingFactory.createTradingOffice(IPlayer owner,
ICity city,
int value) |
| Modifier and Type | Class and Description |
|---|---|
class |
AIPlayer
Implementation of an artificial intelligence player.
|
class |
HumanPlayer |
class |
Player |
| Modifier and Type | Field and Description |
|---|---|
private IPlayer |
Company.owner |
private IPlayer |
BalanceSheet.player |
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.collect.Multimap<IPlayer,ICity> |
GameMap.townsInFounding |
| Modifier and Type | Method and Description |
|---|---|
void |
GameMap.buildSettlement(ICity city,
IPlayer player) |
List<ICity> |
GameMap.getCities(IPlayer player) |
| Constructor and Description |
|---|
BalanceSheet(ICity city,
IPlayer player)
Initialize a blank sheet
|
Company(IPlayer owner,
ICity homeTown,
long cash) |
| Modifier and Type | Method and Description |
|---|---|
IPlayer |
IConcurrent.getClientPlayer()
Get the player that is the client
|
IPlayer |
IConcurrent.getConcurrentPlayer()
Retrieve the concurrent player
|
| Modifier and Type | Method and Description |
|---|---|
int |
ReputationCalculator.calculateWareRepputation(ICity city,
IPlayer player)
Check each ware if the player contributes and what amount.
|
Optional<MapSegmentedImage> |
IInformant.getMapSectionPart(IPlayer player)
The informant may also hold a map part for the player.
|
int |
IInformant.getPrice(IPlayer player)
Get the price of the information.
|
void |
IConcurrent.setClientPlayer(IPlayer clientPlayer) |
void |
IConcurrent.setConcurrentPlayer(IPlayer concurrentPlayer) |
| Modifier and Type | Field and Description |
|---|---|
private IPlayer |
ConcurrentState.clientPlayer |
private IPlayer |
ConcurrentState.concurrentPlayer |
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.collect.Multimap<IPlayer,ISeaPirate> |
SeaPiratesState.nonFreePirates
List of the non free pirates
|
| Modifier and Type | Method and Description |
|---|---|
void |
SeaPiratesState.free(IPlayer player,
ISeaPirate pirate)
A non free pirate becomes free.
|
Optional<MapSegmentedImage> |
InformantState.getMapSectionPart(IPlayer player) |
List<ISeaPirate> |
SeaPiratesState.getNonFreePirates(IPlayer player)
Retrieve immutable list of non free pirates for the player
|
int |
InformantState.getPrice(IPlayer player) |
| Modifier and Type | Method and Description |
|---|---|
void |
SeaPiratesState.add(ISeaPirate pirate,
Optional<IPlayer> player)
Add a pirate.
|
| Modifier and Type | Field and Description |
|---|---|
private IPlayer |
Reputation.player |
| Constructor and Description |
|---|
Reputation(ICity city,
IPlayer player) |
| Modifier and Type | Method and Description |
|---|---|
Map<IPlayer,Integer> |
IConvoy.getCapacityPerOwner()
Collect the convoys capacity per player who has ships
in the convoy.
|
List<IPlayer> |
IConvoy.getPlayers()
Get all players who have a ship in the convoy.
|
| Modifier and Type | Method and Description |
|---|---|
List<IShip> |
IConvoy.getShips(IPlayer player)
Get all the ships in the convoi that belong to a player.
|
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.collect.Multimap<IPlayer,IShip> |
Convoy.ships |
| Modifier and Type | Method and Description |
|---|---|
Map<IPlayer,Integer> |
Convoy.getCapacityPerOwner() |
List<IPlayer> |
Convoy.getPlayers() |
| Modifier and Type | Method and Description |
|---|---|
List<IShip> |
Convoy.getShips(IPlayer player) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CityUtilities.isMayor(IPlayer player,
ICity city)
Check if the player is mayor of a city.
|
Copyright © 2011-2016 Sahits GmbH. All Rights Reserved.