| Modifier and Type | Interface | 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 | Description |
|---|---|---|
ICitizen |
ILoanRequest.getCitizen() |
Who wants the loan.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<ICitizen> |
ICity.getCitizen() |
Retrieve the list of citizen in the city.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
ICity.move(IWare ware,
int amount,
ICitizen player) |
Add or remove ware from the city.
|
| Modifier and Type | Method | Description |
|---|---|---|
ICitizen |
AldermanCandidateList.get(int index) |
|
ICitizen |
ICityHall.getAlderman() |
Retrieve the alderman.
|
ICitizen |
ICityHall.getMayor() |
Current mayor of the city
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<ICitizen> |
AldermanCandidateList.getAll() |
|
java.util.List<ICitizen> |
ICityHall.getCandidates() |
Retrieve the list of candidates for the next election.
|
java.util.List<ICitizen> |
ICityHall.getCouncilmen() |
Retrieve the list of all councilmen of the city
|
java.util.Map<ICitizen,java.lang.Integer> |
IElectionResult.getVotes() |
Retrieve the votes every citizen recieved.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
AldermanCandidateList.add(ICitizen iCitizen) |
|
void |
IElectionResult.vote(ICitizen citizen) |
Vote for citizen.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
Election.vote(ICitizen citizen) |
| Modifier and Type | Method | Description |
|---|---|---|
ICitizen |
IDebt.getDebitor() |
Retrieve the citizen that is in debt.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
City.move(IWare ware,
int amount,
ICitizen player) |
Move ware into this holding.
|
| Modifier and Type | Class | 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 | Description |
|---|---|---|
int |
WareHolding.move(IWare ware,
int amount,
ICitizen player) |
Move ware into this holding.
|
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.