| Modifier and Type | Method | Description |
|---|---|---|
<T extends IBuilding> |
IPlayer.findBuildings(ICity city,
java.lang.Class<T> buildingClass) |
Find all buildings in the city that are some subtype of the indicated class
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<IBuilding> |
IPlayer.findBuildings(ICity city) |
Find all buildings of the player in the city
|
| Modifier and Type | Method | 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 | 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 | Description |
|---|---|---|
class |
TradingOffice |
Implementation of the trading office
|
| Modifier and Type | Method | Description |
|---|---|---|
<T extends IBuilding> |
ICity.findBuilding(java.lang.Class<T> buildingClass,
java.util.Optional<IPlayer> owner) |
Find all matching buildings in a city.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<IBuilding> |
ICity.getBuildings() |
Retrieve a list of all buildings in the city.
|
| Modifier and Type | Method | 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 | Description |
|---|---|---|
IBuilding |
IBuildingAuction.getAuctionedBuilding() |
Retrieve the building that is being auctioned.
|
| Constructor | Description |
|---|---|
BuildingAuction(java.time.LocalDateTime auctionDate,
int startingBid,
IPlayer owner,
IBuilding auctionedBuilding) |
Create an auction for a building.
|
| Modifier and Type | Method | Description |
|---|---|---|
<T extends IBuilding> |
City.findBuilding(java.lang.Class<T> buildingClass,
java.util.Optional<IPlayer> owner) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<IBuilding> |
City.getBuildings() |
| Modifier and Type | Method | 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 | Method | Description |
|---|---|---|
<T extends IBuilding> |
Player.findBuildings(ICity city,
java.lang.Class<T> buildingClass) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<IBuilding> |
Player.findBuildings(ICity city) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
ModelTranslations.getLocalDisplayName(IBuilding building) |
Localize the name of the building
|
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.