Interface IWorkShop
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetMaxWorkers()Retrieve the number of workers maximal employable by this shopIWaregetProducableWare()Retrieve the ware this workshop produces.intgetSalaryPerWorker()Retrieve the salary a worker earns within a weekProductionStoragegetStorage()Retrieve the storage of the workshop.intgetWorkers()Retrieve the number of workers in the shopbooleanisProducingEfficienty()Indicating if the produced ware is produced efficiently in the city.
-
-
-
Method Detail
-
getWorkers
int getWorkers()
Retrieve the number of workers in the shop- Returns:
- numer of workers
-
getMaxWorkers
int getMaxWorkers()
Retrieve the number of workers maximal employable by this shop- Returns:
- max number of workers
-
getSalaryPerWorker
int getSalaryPerWorker()
Retrieve the salary a worker earns within a week- Returns:
- salery per worker and per week
-
getProducableWare
IWare getProducableWare()
Retrieve the ware this workshop produces.- Returns:
- ware that is produce by the workshop
-
getStorage
ProductionStorage getStorage()
Retrieve the storage of the workshop.- Returns:
- Production storage associated with the workshop
-
isProducingEfficienty
boolean isProducingEfficienty()
Indicating if the produced ware is produced efficiently in the city.- Returns:
- true if the workshop produces the ware efficiently
-
-