| Modifier and Type | Method and Description |
|---|---|
<T extends IBuilding> |
IPlayer.findBuildings(ICity city,
Class<T> buildingClass)
Find all buildings in the city that are some subtype of the indicated class
|
| Modifier and Type | Method and Description |
|---|---|
List<IBuilding> |
IPlayer.findBuildings(ICity city)
Find all buildings of the player in the city
|
| Modifier and Type | Method and Description |
|---|---|
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 |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IBarn
A Barn is an enpoint of a land passage.
|
interface |
ICityHall |
interface |
ICityWall |
interface |
IGabledHouse
Interface defining a gabled house
|
interface |
IHalfTimberedHouse
Interface for half timbered houses
|
interface |
IHospital
Representing the hospital in a city.
|
interface |
IMarketplace |
interface |
IMerchantHouse
Interface defining a merchant house
|
interface |
ITownHouse
Basic interface defining the town houses
|
interface |
ITradingOffice
The trading office (Kontor) is the trading point in a city.
|
interface |
IWarehouse
Interface describing a warehouse
|
interface |
IWell
Representing a fountain in the city.
|
interface |
IWorkShop
This interface represents a workshop, which employs workers
|
| Modifier and Type | Class and Description |
|---|---|
class |
TradingOffice
Implementation of the trading office
|
| 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 | Method and Description |
|---|---|
List<IBuilding> |
ICity.getBuildings()
Retrieve a list of all buildings in the city.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ICity.build(IBuilding building)
Remove a building from the list of buildings in the city
|
void |
ICity.tearDown(IBuilding building)
Add a new building to the city
|
| Modifier and Type | Method and Description |
|---|---|
IBuilding |
IBuildingAuction.getAuctionedBuilding()
Retrieve the building that is being auctioned.
|
| Modifier and Type | Field and Description |
|---|---|
private IBuilding |
BuildingAuction.auctionedBuilding |
| Constructor and Description |
|---|
BuildingAuction(java.time.LocalDateTime auctionDate,
int startingBid,
IPlayer owner,
IBuilding auctionedBuilding)
Create an auction for a building.
|
| Modifier and Type | Field and Description |
|---|---|
private List<IBuilding> |
City.buildings
Store the buildings in the city
|
| Modifier and Type | Method and Description |
|---|---|
<T extends IBuilding> |
City.findBuilding(Class<T> buildingClass,
Optional<IPlayer> owner) |
| Modifier and Type | Method and Description |
|---|---|
List<IBuilding> |
City.getBuildings() |
| Modifier and Type | Method and Description |
|---|---|
void |
City.build(IBuilding building)
Add a new building to the city
|
void |
City.tearDown(IBuilding building)
Remove a building from the list of buildings in the city
|
| Modifier and Type | Field and Description |
|---|---|
private IBuilding |
BuildingFinished.building |
| Modifier and Type | Method and Description |
|---|---|
<T extends IBuilding> |
Player.findBuildings(ICity city,
Class<T> buildingClass) |
| Modifier and Type | Method and Description |
|---|---|
List<IBuilding> |
Player.findBuildings(ICity city) |
| Modifier and Type | Method and Description |
|---|---|
String |
ModelTranslations.getLocalDisplayName(IBuilding building) |
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.