@Service @Lazy @DependentInitialisation(value=StartNewGameBean.class) public class CityProduction extends Object
| Modifier and Type | Field and Description |
|---|---|
private Map<IWare,Integer> |
productionRates |
| Constructor and Description |
|---|
CityProduction() |
| Modifier and Type | Method and Description |
|---|---|
int |
getEfficientProduction(IWare ware)
Compute the amount of
ware that is produced efficiently within a week |
int |
getInefficientProduction(IWare ware)
Compute the amount of
ware that is produced inefficiently within a week |
int |
getProduction(IWare ware) |
public int getEfficientProduction(IWare ware)
ware that is produced efficiently within a weekware - public int getInefficientProduction(IWare ware)
ware that is produced inefficiently within a weekware - public int getProduction(IWare ware)
Copyright © 2011-2016 Sahits GmbH. All Rights Reserved.