| Modifier and Type | Interface and Description |
|---|---|
interface |
IAIPlayer
Player interface defining an artificial player.
|
interface |
IPlayer
Player in the game.
|
| Modifier and Type | Method and Description |
|---|---|
ICitizen |
ILoanRequest.getCitizen()
Who wants the loan.
|
| Modifier and Type | Method and Description |
|---|---|
List<ICitizen> |
ICity.getCitizen()
Retrieve the list of citizen in the city.
|
| Modifier and Type | Method and Description |
|---|---|
int |
ICity.move(IWare ware,
int amount,
ICitizen player)
Add or remove ware from the city.
|
| Modifier and Type | Field and Description |
|---|---|
private ArrayList<ICitizen> |
EldermanCandidateList.eldermanCandidates |
| Modifier and Type | Method and Description |
|---|---|
ICitizen |
EldermanCandidateList.get(int index) |
ICitizen |
ICityHall.getElderman()
Retrieve the elderman.
|
ICitizen |
ICityHall.getMayor()
Current mayor of the city
|
| Modifier and Type | Method and Description |
|---|---|
List<ICitizen> |
EldermanCandidateList.getAll() |
List<ICitizen> |
ICityHall.getCandidates()
Retrieve the list of candidates for the next election.
|
List<ICitizen> |
ICityHall.getCouncilmen()
Retrieve the list of all councilmen of the city
|
Map<ICitizen,Integer> |
IElectionResult.getVotes()
Retrieve the votes every citizen recieved.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
EldermanCandidateList.add(ICitizen iCitizen) |
void |
IElectionResult.vote(ICitizen citicen)
Vote for citizen.
|
| Modifier and Type | Field and Description |
|---|---|
private ICitizen |
CityHall.elderman |
private ICitizen |
CityHall.mayor |
| Modifier and Type | Field and Description |
|---|---|
private List<ICitizen> |
CityHall.candidates |
private List<ICitizen> |
CityHall.councilmen |
private Map<ICitizen,Integer> |
Election.votes |
| Modifier and Type | Method and Description |
|---|---|
void |
Election.vote(ICitizen citizen) |
| Modifier and Type | Field and Description |
|---|---|
private ICitizen |
LoanRequest.citizen |
private ICitizen |
Debt.debitor |
| Modifier and Type | Field and Description |
|---|---|
private List<ICitizen> |
City.citizen |
| Modifier and Type | Method and Description |
|---|---|
ICitizen |
IDebt.getDebitor()
Retrieve the citizen that is in debt.
|
| Modifier and Type | Method and Description |
|---|---|
int |
City.move(IWare ware,
int amount,
ICitizen player)
Move ware into this holding.
|
| Modifier and Type | Method and Description |
|---|---|
ICitizen |
StateFactory.createCitizen(ICity hometown,
ESocialRank rank) |
| Modifier and Type | Class and Description |
|---|---|
class |
AIPlayer
Implementation of an artificial intelligence player.
|
class |
Citizen
A citizen is an inhabitatant of a town, who does not directly partake in
the game play.
|
class |
Player |
| Modifier and Type | Method and Description |
|---|---|
int |
WareHolding.move(IWare ware,
int amount,
ICitizen player)
Move ware into this holding.
|
| Modifier and Type | Method and Description |
|---|---|
SortedMapRandomizedSameElements<Integer,ICitizen> |
CityUtilities.getCandidateMap(List<ICitizen> candidates,
ICity city)
Create a sorted map of the candidates according to their reputation.
|
| Modifier and Type | Method and Description |
|---|---|
SortedMapRandomizedSameElements<Integer,ICitizen> |
CityUtilities.getCandidateMap(List<ICitizen> candidates,
ICity city)
Create a sorted map of the candidates according to their reputation.
|
Copyright © 2011-2015 Sahits GmbH. All Rights Reserved.