Interface ICityProductionConsumptionKnowledge
-
- All Known Implementing Classes:
CityProductionConsumptionKnowledge
public interface ICityProductionConsumptionKnowledge
Production and consumption knowledge of a specific city.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getConsumptionAmount(IWare ware)
Retrieve the consumption amount for a ware.int
getProductionAmount(IWare ware)
Retrieve the consumption amount for a ware.int
getStoredAmount(IWare ware)
Retrieve the stored amount for a ware.
-
-
-
Method Detail
-
getProductionAmount
int getProductionAmount(IWare ware)
Retrieve the consumption amount for a ware.- Parameters:
ware
- for which the production amount is to be looked up- Returns:
- amount produced in the city per week.
-
getConsumptionAmount
int getConsumptionAmount(IWare ware)
Retrieve the consumption amount for a ware.- Parameters:
ware
- for which the consumption amount is to be looked up.- Returns:
- amount consumed in the city per week
-
getStoredAmount
int getStoredAmount(IWare ware)
Retrieve the stored amount for a ware.- Parameters:
ware
- for which the stored amount is to be looked up.- Returns:
- stored amount.
-
-