@Service @Lazy @DependentInitialisation(MapInitializedBean.class) public class CityProductionStorage extends java.lang.Object
| Constructor | Description |
|---|---|
CityProductionStorage() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(ICity city) |
Create the production storage for an additional city.
|
ProductionStorage |
getStorage(ICity city) |
Retrieve the
ProductionStorage for the city. |
public void add(ICity city)
city - for which to add a production storagepublic ProductionStorage getStorage(ICity city)
ProductionStorage for the city.city - for which to retrieve the production storageCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.