IBarn, ICityHall, ICityWall, IGabledHouse, IHalfTimberedHouse, IHospital, IMarketplace, IMerchantHouse, ITownHouse, ITradingOffice, IWarehouse, IWell, IWorkShopTradingOfficepublic interface IBuilding
| Modifier and Type | Method | Description |
|---|---|---|
void |
destroy() |
Execute when the building is destroyed.
|
ICity |
getCity() |
Retreive the location of the building.
|
IPlayer |
getOwner() |
Retrieve the owner of the trading office
|
int |
getPropertyTax() |
Retrieve the amount of property taxes per week
|
int |
getValue() |
Retrieve the value of the building
|
void |
setOwner(IPlayer newOwner) |
Some buildings may be sold to other players.
|
IPlayer getOwner()
void setOwner(IPlayer newOwner)
newOwner - owner of the buildingint getPropertyTax()
int getValue()
void destroy()
ICity getCity()
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.