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

All Superinterfaces:
IBuilding
All Known Subinterfaces:
IGabledHouse, IHalfTimberedHouse, IMerchantHouse

public interface ITownHouse
extends IBuilding

Basic interface defining the town houses

Author:
Andi Hotz, (c) Sahits GmbH, 2012 Created on Jul 20, 2012

Method Summary
 int computeRentalIncome()
          Compute the rental income for one day
 int getCapacity()
          retrieve the capacity of the house
 int getOccupancy()
          Retrieve the occupancy of the house
 void getRentPerTenant()
          Retrieve the rent a tenant has to pay per month
 
Methods inherited from interface ch.sahits.game.openpatrician.model.building.IBuilding
getOwner, getPropertyTax, getValue
 

Method Detail

getCapacity

int getCapacity()
retrieve the capacity of the house

Returns:

getOccupancy

int getOccupancy()
Retrieve the occupancy of the house


computeRentalIncome

int computeRentalIncome()
Compute the rental income for one day

Returns:

getRentPerTenant

void getRentPerTenant()
Retrieve the rent a tenant has to pay per month



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