@Service @Lazy @DependentInitialisation(value=StartNewGameBean.class) public class ProductionChain extends Object
| Modifier and Type | Field and Description |
|---|---|
private Properties |
properties |
| Constructor and Description |
|---|
ProductionChain() |
| Modifier and Type | Method and Description |
|---|---|
double |
getProduction(IWare ware) |
double |
getRequiredAmount(IWare wareToBeProduced,
IWare requiredWare) |
List<IWare> |
getRequiredWares(IWare wareToBeProduced) |
List<IWare> |
getWaresWithProductionChain()
Retrieve all wares that require other wares to be produced.
|
(package private) void |
init() |
private Properties properties
@PostConstruct void init() throws IOException
IOExceptionpublic double getProduction(IWare ware)
Copyright © 2011-2016 Sahits GmbH. All Rights Reserved.