ch.sahits.game.openpatrician.model.building
Interface IBuilding

All Known Subinterfaces:
IGabledHouse, IHalfTimberedHouse, IMerchantHouse, ITownHouse, ITradingOffice, IWarehouse, IWorkShop
All Known Implementing Classes:
TradingOffice

public interface IBuilding

Basic definition of a building.

Author:
Andi Hotz, (c) Sahits GmbH, 2011 Created on Dec 17, 2011

Method Summary
 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
 

Method Detail

getOwner

IPlayer getOwner()
Retrieve the owner of the trading office

Returns:

getPropertyTax

int getPropertyTax()
Retrieve the amount of property taxes per week

Returns:

getValue

int getValue()
Retrieve the value of the building

Returns:


Copyright © 2011-2012 Sahits GmbH. All Rights Reserved.