|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Packages that use EPopulationClass | |
|---|---|
| ch.sahits.game.openpatrician.model.city | |
| ch.sahits.game.openpatrician.model.city.impl | |
| Uses of EPopulationClass in ch.sahits.game.openpatrician.model.city |
|---|
| Fields in ch.sahits.game.openpatrician.model.city with type parameters of type EPopulationClass | |
|---|---|
private Map<EWare,Map<EPopulationClass,Double>> |
PopulationConsume.needs
Store the amounts |
| Methods in ch.sahits.game.openpatrician.model.city that return EPopulationClass | |
|---|---|
static EPopulationClass |
EPopulationClass.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EPopulationClass[] |
EPopulationClass.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods in ch.sahits.game.openpatrician.model.city with parameters of type EPopulationClass | |
|---|---|
double |
PopulationConsume.getNeed(EWare ware,
EPopulationClass popClass,
int popSize)
Retrieve the amount needed of a ware by a population class of the size |
int |
ICity.getPopulation(EPopulationClass popclass)
Retrieve the current population of the city by class |
void |
ICity.setPopulation(int population,
EPopulationClass popClass)
Set the population by class |
| Uses of EPopulationClass in ch.sahits.game.openpatrician.model.city.impl |
|---|
| Fields in ch.sahits.game.openpatrician.model.city.impl with type parameters of type EPopulationClass | |
|---|---|
private HashMap<EPopulationClass,Integer> |
City.population
Holding the population split by population classes |
| Methods in ch.sahits.game.openpatrician.model.city.impl with parameters of type EPopulationClass | |
|---|---|
int |
City.getPopulation(EPopulationClass popclass)
Retrieve the population count for a class |
void |
City.setPopulation(int population,
EPopulationClass popClass)
Set the population count for a apopulation class |
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||