Interface ITownHouse

    • Method Detail

      • getCapacity

        int getCapacity()
        retrieve the capacity of the house
        Returns:
        capacity of inhabitants
      • getOccupancy

        int getOccupancy()
        Retrieve the occupancy of the house
      • computeRentalIncome

        int computeRentalIncome()
        Compute the rental income for one day
        Returns:
        rental income per day
      • getRentPerTenant

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