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

All Known Implementing Classes:
Storage

public interface IStorage

Additional over all ware houses connected to a trading office

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

Method Summary
 int getCostsPerDay()
          Retrieve the daily cost for rent storage
 int getGuardCostsPerDay()
          Retrieve the costs for the guards
 int getNumberGuards()
          Retrieve the number of guards
 int getRentOutStorage()
          Retrieve the amount of storage in barrels that is rented by someone else
 ELevel getSecurityLevel()
          Retrieve the security level
 void updateGuardsNumber(int update)
          Increase or decrease the number of guards
 void updateRendedSpace(int nbBarrels)
          Update the rented out space
 

Method Detail

getRentOutStorage

int getRentOutStorage()
Retrieve the amount of storage in barrels that is rented by someone else

Returns:

updateRendedSpace

void updateRendedSpace(int nbBarrels)
Update the rented out space

Parameters:
nbBarrels -

getCostsPerDay

int getCostsPerDay()
Retrieve the daily cost for rent storage

Returns:

getNumberGuards

int getNumberGuards()
Retrieve the number of guards

Returns:

getGuardCostsPerDay

int getGuardCostsPerDay()
Retrieve the costs for the guards

Returns:

getSecurityLevel

ELevel getSecurityLevel()
Retrieve the security level

Returns:

updateGuardsNumber

void updateGuardsNumber(int update)
Increase or decrease the number of guards

Parameters:
update -


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