public interface IBuilding
| Modifier and Type | Method and 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 - int getPropertyTax()
int getValue()
void destroy()
ICity getCity()
Copyright © 2011-2017 Sahits GmbH. All Rights Reserved.