Interface IWorkShop
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getMaxWorkers()
Retrieve the number of workers maximal employable by this shopIWare
getProducableWare()
Retrieve the ware this workshop produces.int
getSalaryPerWorker()
Retrieve the salary a worker earns within a weekProductionStorage
getStorage()
Retrieve the storage of the workshop.int
getWorkers()
Retrieve the number of workers in the shopboolean
isProducingEfficienty()
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
-
-