| Modifier and Type | Interface and Description |
|---|---|
interface |
IAIPlayer
Player interface defining an artificial player.
|
interface |
IHumanPlayer
This player represents a human player.
|
interface |
IPlayer
Base 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> |
AldermanCandidateList.aldermanCandidates |
| Modifier and Type | Method and Description |
|---|---|
ICitizen |
AldermanCandidateList.get(int index) |
ICitizen |
ICityHall.getAlderman()
Retrieve the alderman.
|
ICitizen |
ICityHall.getMayor()
Current mayor of the city
|
| Modifier and Type | Method and Description |
|---|---|
List<ICitizen> |
AldermanCandidateList.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 |
AldermanCandidateList.add(ICitizen iCitizen) |
void |
IElectionResult.vote(ICitizen citicen)
Vote for citizen.
|
| Modifier and Type | Field and Description |
|---|---|
private ICitizen |
CityHall.alderman |
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 | 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 |
HumanPlayer |
class |
Player |
| Modifier and Type | Method and Description |
|---|---|
int |
WareHolding.move(IWare ware,
int amount,
ICitizen player)
Move ware into this holding.
|
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.