Uses of Interface
ch.sahits.game.openpatrician.model.building.IBuilding
-
-
Uses of IBuilding in ch.sahits.game.openpatrician.event.data
Fields in ch.sahits.game.openpatrician.event.data declared as IBuilding Modifier and Type Field Description private IBuilding
BuildingAuctionFinished. building
private IBuilding
BuildingNotAuctioned. building
Constructors in ch.sahits.game.openpatrician.event.data with parameters of type IBuilding Constructor Description BuildingAuctionFinished(IBuilding building, IPlayer newOwner)
BuildingNotAuctioned(IBuilding building, IPlayer newOwner)
-
Uses of IBuilding in ch.sahits.game.openpatrician.model
Methods in ch.sahits.game.openpatrician.model with type parameters of type IBuilding Modifier and Type Method Description <T extends IBuilding>
java.util.List<T>IPlayer. findBuildings(ICity city, java.lang.Class<T> buildingClass)
Find all buildings in the city that are some subtype of the indicated classMethods in ch.sahits.game.openpatrician.model that return types with arguments of type IBuilding Modifier and Type Method Description java.util.List<IBuilding>
IPlayer. findBuildings(ICity city)
Find all buildings of the player in the cityMethods in ch.sahits.game.openpatrician.model with parameters of type IBuilding Modifier and Type Method Description IBuildingAuction
ModelFactory. createBuildingAuction(java.time.LocalDateTime auctionDate, int startingBid, IPlayer owner, IBuilding building)
Retrieve an auction instance for thebuilding
owned byowner
, which will be auctioned onauctionDate
starting withstartingBid
-
Uses of IBuilding in ch.sahits.game.openpatrician.model.building
Subinterfaces of IBuilding in ch.sahits.game.openpatrician.model.building 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 houseinterface
IHalfTimberedHouse
Interface for half timbered housesinterface
IHospital
Representing the hospital in a city.interface
IMarketplace
interface
IMerchantHouse
Interface defining a merchant houseinterface
ITownHouse
Basic interface defining the town housesinterface
ITradingOffice
The trading office (Kontor) is the trading point in a city.interface
IWarehouse
Interface describing a warehouseinterface
IWell
Representing a fountain in the city.interface
IWorkShop
This interface represents a workshop, which employs workers -
Uses of IBuilding in ch.sahits.game.openpatrician.model.building.impl
Classes in ch.sahits.game.openpatrician.model.building.impl that implement IBuilding Modifier and Type Class Description class
TradingOffice
Implementation of the trading office -
Uses of IBuilding in ch.sahits.game.openpatrician.model.city
Methods in ch.sahits.game.openpatrician.model.city with type parameters of type IBuilding Modifier and Type Method Description <T extends IBuilding>
java.util.List<T>ICity. findBuilding(java.lang.Class<T> buildingClass, java.util.Optional<IPlayer> owner)
Find all matching buildings in a city.Methods in ch.sahits.game.openpatrician.model.city that return types with arguments of type IBuilding Modifier and Type Method Description java.util.List<IBuilding>
ICity. getBuildings()
Retrieve a list of all buildings in the city.Methods in ch.sahits.game.openpatrician.model.city with parameters of type IBuilding Modifier and Type Method Description void
ICity. build(IBuilding building)
Remove a building from the list of buildings in the cityvoid
ICity. tearDown(IBuilding building)
Add a new building to the city -
Uses of IBuilding in ch.sahits.game.openpatrician.model.city.guild
Methods in ch.sahits.game.openpatrician.model.city.guild that return IBuilding Modifier and Type Method Description IBuilding
IBuildingAuction. getAuctionedBuilding()
Retrieve the building that is being auctioned. -
Uses of IBuilding in ch.sahits.game.openpatrician.model.city.guild.impl
Fields in ch.sahits.game.openpatrician.model.city.guild.impl declared as IBuilding Modifier and Type Field Description private IBuilding
BuildingAuction. auctionedBuilding
Constructors in ch.sahits.game.openpatrician.model.city.guild.impl with parameters of type IBuilding Constructor Description BuildingAuction(java.time.LocalDateTime auctionDate, int startingBid, IPlayer owner, IBuilding auctionedBuilding)
Create an auction for a building. -
Uses of IBuilding in ch.sahits.game.openpatrician.model.city.impl
Fields in ch.sahits.game.openpatrician.model.city.impl with type parameters of type IBuilding Modifier and Type Field Description private java.util.List<IBuilding>
City. buildings
Store the buildings in the cityMethods in ch.sahits.game.openpatrician.model.city.impl with type parameters of type IBuilding Modifier and Type Method Description <T extends IBuilding>
java.util.List<T>City. findBuilding(java.lang.Class<T> buildingClass, java.util.Optional<IPlayer> owner)
Methods in ch.sahits.game.openpatrician.model.city.impl that return types with arguments of type IBuilding Modifier and Type Method Description java.util.List<IBuilding>
City. getBuildings()
Methods in ch.sahits.game.openpatrician.model.city.impl with parameters of type IBuilding Modifier and Type Method Description void
City. build(IBuilding building)
Add a new building to the cityvoid
City. tearDown(IBuilding building)
Remove a building from the list of buildings in the city -
Uses of IBuilding in ch.sahits.game.openpatrician.model.event
Fields in ch.sahits.game.openpatrician.model.event declared as IBuilding Modifier and Type Field Description private IBuilding
BuildingFinished. building
Constructors in ch.sahits.game.openpatrician.model.event with parameters of type IBuilding Constructor Description BuildingFinished(IBuilding building, IPlayer owner, ICity city)
-
Uses of IBuilding in ch.sahits.game.openpatrician.model.impl
Methods in ch.sahits.game.openpatrician.model.impl with type parameters of type IBuilding Modifier and Type Method Description <T extends IBuilding>
java.util.List<T>Player. findBuildings(ICity city, java.lang.Class<T> buildingClass)
Methods in ch.sahits.game.openpatrician.model.impl that return types with arguments of type IBuilding Modifier and Type Method Description java.util.List<IBuilding>
Player. findBuildings(ICity city)
-
Uses of IBuilding in ch.sahits.game.openpatrician.model.service
Methods in ch.sahits.game.openpatrician.model.service with parameters of type IBuilding Modifier and Type Method Description java.lang.String
ModelTranslations. getLocalDisplayName(IBuilding building)
Localize the name of the building
-