| 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() |
java.util.stream.Stream<IPlayer> |
PlayerList.stream() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
PlayerList.add(IPlayer player) |
IBuildingAuction |
ModelFactory.createBuildingAuction(java.time.LocalDateTime auctionDate,
int startingBid,
IPlayer owner,
IBuilding building)
Retrieve an auction instance for the
building owned by owner, which
will be auctioned on auctionDate starting with startingBid |
IShipAuction |
ModelFactory.createShipAuction(java.time.LocalDateTime auctionDate,
int startingBid,
IPlayer owner,
IShip ship)
Retrieve an auction instance for the
ship owned by owner, which
will be auctioned on auctionDate starting with startingBid |
| Modifier and Type | Method and Description |
|---|---|
IPlayer |
IBuilding.getOwner()
Retrieve the owner of the trading office
|
| Modifier and Type | Method and Description |
|---|---|
List<ITradingOffice> |
TradingOfficeList.findOwnedBy(IPlayer player)
Find all trading offices of a player.
|
void |
IBuilding.setOwner(IPlayer newOwner)
Some buildings may be sold to other players.
|
| Modifier and Type | Field and Description |
|---|---|
private IPlayer |
TradingOffice.owner
Reference to the player
|
private IPlayer |
Storage.owner |
| Modifier and Type | Method and Description |
|---|---|
void |
TradingOffice.setOwner(IPlayer newOwner)
Owner of the trading office cannot be changed.
|
| Constructor and Description |
|---|
Storage(IPlayer owner,
ICity city) |
TradingOffice(IPlayer player,
ICity city,
int value,
IStorage storage,
IBalanceSheet lastWeek,
IBalanceSheet thisWeek) |
| 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 |
|---|---|
void |
ICity.addBuildingPermission(IPlayer player)
Add the bulidng permission for that player in the city.
|
int |
ICity.getContribution(IPlayer player,
IWare ware)
Check out what the player contributed to the ware
|
int |
IBuildingProduction.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
|
boolean |
ICity.hasBuildingPermission(IPlayer player)
The player has building permission in this city.
|
void |
ICity.moveIn(IPlayer player,
IReputation reputaion,
Contributions contributions)
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,
java.time.LocalDateTime 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,
java.time.LocalDateTime limit,
IPlayer player) |
| Constructor and Description |
|---|
AcceptedAldermanTask(IAldermanTask task,
java.time.LocalDateTime deadline,
IPlayer player) |
| Modifier and Type | Method and Description |
|---|---|
IPlayer |
IAuction.getBiddingPlayer()
Retrieve the currently bidding player.
|
| Modifier and Type | Method and Description |
|---|---|
List<IPlayer> |
IGuild.getMembers()
Retrieve all members of the guild.
|
Optional<IPlayer> |
IAuction.getOwner()
Get the owner that is auctioning.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IMediterreanMap.addTradeAgreement(IPlayer player,
ITradeAgreement agreement)
Add a trade agreement for a player.
|
boolean |
IMediterreanMap.exploreSpot(IPlayer player,
javafx.geometry.Point2D coordinates)
Player explored a spot and may have detected a trading spot.
|
List<javafx.geometry.Point2D> |
IMediterreanMap.getExploredLocations(IPlayer player)
Retrieve a list of all discovered location for a player.
|
List<ITradeAgreement> |
IMediterreanMap.getTradeAgreements(IPlayer player)
Retreive the trade agreements for a specific player.
|
void |
IGuild.join(IPlayer player)
A player joins the guild.
|
void |
IAuction.setBiddingPlayer(IPlayer player)
Set the currently bidding player.
|
| Modifier and Type | Field and Description |
|---|---|
private IPlayer |
AbstractAuction.biddingPlayer |
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.collect.Multimap<IPlayer,javafx.geometry.Point2D> |
MediterreanSeaMap.exploredSpots |
private List<IPlayer> |
Guild.members |
private Optional<IPlayer> |
AbstractAuction.owner |
private com.google.common.collect.Multimap<IPlayer,ITradeAgreement> |
MediterreanSeaMap.tradeAgreements |
| Modifier and Type | Method and Description |
|---|---|
void |
MediterreanSeaMap.addTradeAgreement(IPlayer player,
ITradeAgreement agreement) |
boolean |
MediterreanSeaMap.exploreSpot(IPlayer player,
javafx.geometry.Point2D coordinates) |
List<javafx.geometry.Point2D> |
MediterreanSeaMap.getExploredLocations(IPlayer player) |
List<ITradeAgreement> |
MediterreanSeaMap.getTradeAgreements(IPlayer player) |
void |
Guild.join(IPlayer player) |
| Constructor and Description |
|---|
AbstractAuction(java.time.LocalDateTime auctionDate,
int startingBid,
IPlayer owner)
Create an auction object with a specific owner.
|
BuildingAuction(java.time.LocalDateTime auctionDate,
int startingBid,
IPlayer owner,
IBuilding auctionedBuilding)
Create an auction for a building.
|
ShipAuction(java.time.LocalDateTime auctionDate,
int startingBid,
IPlayer owner,
IShip auctionedShip)
Create a ship auction together with it's owner.
|
| Modifier and Type | Field and Description |
|---|---|
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 |
|---|---|
void |
City.addBuildingPermission(IPlayer player) |
int |
City.getContribution(IPlayer player,
IWare ware) |
IReputation |
City.getReputation(IPlayer player) |
boolean |
City.hasBuildingPermission(IPlayer player) |
boolean |
TavernState.isTalkingToOtherPlayer(ITavernPerson person,
IPlayer player) |
void |
City.moveIn(IPlayer player,
IReputation reputaion,
Contributions contributions) |
| 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 | 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 | Method and Description |
|---|---|
void |
Company.setOwner(IPlayer player) |
| Constructor and Description |
|---|
BalanceSheet(ICity city,
IPlayer player)
Initialize a blank sheet
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.Multimap<IPlayer,ICity> |
IMap.getTownsInFounding()
Retrieve the cities that are currently being founded by players.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.collect.Multimap<IPlayer,ICity> |
GameMap.townsInFounding |
| Modifier and Type | Method and Description |
|---|---|
List<ICity> |
GameMap.getCities(IPlayer player) |
| Modifier and Type | Method and Description |
|---|---|
IPlayer |
IConcurrent.getClientPlayer()
Get the player that is the client
|
IPlayer |
IConcurrent.getConcurrentPlayer()
Retrieve the concurrent player
|
IPlayer |
INonFreeSeaPirate.getHiringPlayer()
Player who hired the pirate
|
| Modifier and Type | Method and Description |
|---|---|
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 |
private IPlayer |
NonFreeSeaPirate.hiringPlayer |
| Modifier and Type | Method and Description |
|---|---|
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) |
| Constructor and Description |
|---|
NonFreeSeaPirate(IPlayer hiringPlayer,
java.time.LocalDateTime hireDate,
ICity nearCity)
Create a non free 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 |
|---|---|
List<IPlayer> |
IBlockade.getPlayersWithRequestedShips()
Retrieve a list of players which have requested a ship
|
| Modifier and Type | Method and Description |
|---|---|
void |
IBlockade.addShips(IPlayer player,
List<IShip> shipList)
Add a number of ships for a player to the blockade.
|
int |
IBlockade.getNumberOfRequestedShips(IPlayer player)
Retrieve the number of ships that are requested.
|
List<IShip> |
IBlockade.getShips(IPlayer player)
Retrieve the ships of a certain player.
|
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.collect.Multimap<IPlayer,IShip> |
Blockade.ships |
| Modifier and Type | Method and Description |
|---|---|
List<IPlayer> |
Blockade.getPlayersWithRequestedShips() |
| Modifier and Type | Method and Description |
|---|---|
void |
Blockade.addShips(IPlayer player,
List<IShip> shipList) |
int |
Blockade.getNumberOfRequestedShips(IPlayer player) |
List<IShip> |
Blockade.getShips(IPlayer player) |
void |
Blockade.requestShip(IPlayer player,
int number) |
| 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 | Field and Description |
|---|---|
private IPlayer |
TargetedDialogStateWrapper.player |
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.