| Package | Description |
|---|---|
| ch.sahits.game.openpatrician.model.city | |
| ch.sahits.game.openpatrician.model.city.impl |
| Modifier and Type | Method | Description |
|---|---|---|
static EPopulationClass |
EPopulationClass.valueOf(java.lang.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.
|
| Modifier and Type | Method | Description |
|---|---|---|
double |
PopulationConsume.getNeed(IWare 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
|
javafx.beans.property.IntegerProperty |
ICity.getPopulationProperty(EPopulationClass popclass) |
Retrieve the population count for a class
|
void |
ICity.setPopulation(int population,
EPopulationClass popClass) |
Set the population by class
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
City.getPopulation(EPopulationClass popclass) |
Retrieve the population count for a class
|
javafx.beans.property.IntegerProperty |
City.getPopulationProperty(EPopulationClass popclass) |
|
void |
City.setPopulation(int population,
EPopulationClass popClass) |
Set the population count for a apopulation class
|
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.