Modifier and Type | Class and Description |
---|---|
class |
Province
Simulates a province on the world map.
|
Modifier and Type | Method and Description |
---|---|
IProvince |
WorldHandler.getNew()
Fetches the second province that was saved
|
IProvince |
WorldHandler.getOld()
Fetches the first province that was saved
|
Modifier and Type | Method and Description |
---|---|
java.util.List<IProvince> |
Game.getGameProvinces() |
java.util.List<IProvince> |
IGame.getGameProvinces()
Retrieves all provinces
|
java.util.List<IProvince> |
WorldHandler.getProvinces()
fetches a list of all provinces
|
java.util.ArrayList<IProvince> |
WorldMap.getProvinces() |
Modifier and Type | Method and Description |
---|---|
void |
Game.handleProvinceEvent(IProvince newProvince) |
void |
IGame.handleProvinceEvent(IProvince province)
Determines what should be done with the chosen province
|
WorldHandler.ProvinceResult |
WorldHandler.handleProvinceEvent(IProvince newProvince,
int bonus)
Determines what should be done with the chosen province
|
void |
Province.moveUnits(int units,
IProvince province) |
void |
IProvince.moveUnits(int units,
IProvince province)
Move units forom this province to another province.
|
void |
BonusHandler.placeBonusUnits(int units,
IProvince province)
Place units from a players bonus on a province
|