Uses of Interface
ch.sahits.game.openpatrician.model.building.IBuilding
-
-
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 IBuildingAuctionModelFactory. createBuildingAuction(java.time.LocalDateTime auctionDate, int startingBid, IPlayer owner, IBuilding building)Retrieve an auction instance for thebuildingowned byowner, which will be auctioned onauctionDatestarting 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 interfaceIBarnA Barn is an enpoint of a land passage.interfaceICityHallinterfaceICityWallinterfaceIGabledHouseInterface defining a gabled houseinterfaceIHalfTimberedHouseInterface for half timbered housesinterfaceIHospitalRepresenting the hospital in a city.interfaceIMarketplaceinterfaceIMerchantHouseInterface defining a merchant houseinterfaceITownHouseBasic interface defining the town housesinterfaceITradingOfficeThe trading office (Kontor) is the trading point in a city.interfaceIWarehouseInterface describing a warehouseinterfaceIWellRepresenting a fountain in the city.interfaceIWorkShopThis 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 classTradingOfficeImplementation 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 voidICity. build(IBuilding building)Remove a building from the list of buildings in the cityvoidICity. 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 IBuildingIBuildingAuction. getAuctionedBuilding()Retrieve the building that is being auctioned. -
Uses of IBuilding in ch.sahits.game.openpatrician.model.city.guild.impl
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
Methods 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 voidCity. build(IBuilding building)Add a new building to the cityvoidCity. tearDown(IBuilding building)Remove a building from the list of buildings in the city -
Uses of IBuilding in ch.sahits.game.openpatrician.model.event
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.StringModelTranslations. getLocalDisplayName(IBuilding building)Localize the name of the building
-