Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- actions() - Method in class de.aikiit.game.kaiser.KaiserGame
-
Performs user interactions.
- ANSI_BLACK - Static variable in class de.aikiit.game.kaiser.KaiserEnginePrinter
- ANSI_BLUE - Static variable in class de.aikiit.game.kaiser.KaiserEnginePrinter
- ANSI_CYAN - Static variable in class de.aikiit.game.kaiser.KaiserEnginePrinter
- ANSI_GREEN - Static variable in class de.aikiit.game.kaiser.KaiserEnginePrinter
- ANSI_PURPLE - Static variable in class de.aikiit.game.kaiser.KaiserEnginePrinter
- ANSI_RED - Static variable in class de.aikiit.game.kaiser.KaiserEnginePrinter
- ANSI_RESET - Static variable in class de.aikiit.game.kaiser.KaiserEnginePrinter
- ANSI_WHITE - Static variable in class de.aikiit.game.kaiser.KaiserEnginePrinter
- ANSI_YELLOW - Static variable in class de.aikiit.game.kaiser.KaiserEnginePrinter
B
- banner() - Method in class de.aikiit.game.kaiser.KaiserGame
-
Shows the game's banner.
- buy(KaiserEngine) - Static method in class de.aikiit.game.kaiser.KaiserActions
-
Try to buy land in the current game.
- buyLand(Long) - Method in class de.aikiit.game.kaiser.KaiserEngine
-
Performs an act of buying land (new land is acquired by reducing the supplies according to the current land price).
- byeByeBanner() - Method in class de.aikiit.game.kaiser.KaiserGame
-
Shows console banner after the game is over.
C
- calculateNewPrice() - Method in class de.aikiit.game.kaiser.KaiserEngine
- cultivate(KaiserEngine) - Static method in class de.aikiit.game.kaiser.KaiserActions
-
In order to feed your population you need to plant crops and cultivate your available area/land.
- cultivate(Long) - Method in class de.aikiit.game.kaiser.KaiserEngine
-
Performs an act of using your area and people to cultivate, plant crops for the upcoming season/next round.
D
- de.aikiit.game.kaiser - package de.aikiit.game.kaiser
E
- evaluateRegency() - Method in class de.aikiit.game.kaiser.KaiserEnginePrinter
-
Depending on global rules the player's legacy is described/classified depending on the engine's results.
F
- feed(KaiserEngine) - Static method in class de.aikiit.game.kaiser.KaiserActions
-
Perform a feeding operation in the current game, that means give food to the population.
- feedToPopulation(Long) - Method in class de.aikiit.game.kaiser.KaiserEngine
-
Performs an act of using supplies to feed your population.
- finish() - Method in class de.aikiit.game.kaiser.KaiserGame
-
Shows results after the game is over.
- finishRoundAfterActions() - Method in class de.aikiit.game.kaiser.KaiserEngine
-
Perform "round"-final calculations such as number of people that died adapt overall (internal) death statistics refresh internal famine quotient
G
- GameKaiserJavaApplication - Class in de.aikiit.game.kaiser
-
This is the main class to start the game.
- GameKaiserJavaApplication() - Constructor for class de.aikiit.game.kaiser.GameKaiserJavaApplication
- getAreaPerCapita() - Method in class de.aikiit.game.kaiser.KaiserEngine
-
Calculates the available area per person in the current game.
- getRandomNumberUntil(int) - Method in class de.aikiit.game.kaiser.KaiserEngine
-
Helper method to retrieve a new random number without any comma (scale=0).
- getResults() - Method in class de.aikiit.game.kaiser.KaiserEnginePrinter
-
After the game ends and the maximum number of years is reached an overall statistics is printed out.
- getStatus(int) - Method in class de.aikiit.game.kaiser.KaiserEnginePrinter
-
Show status information of the underlying game engine for the given round.
- getYearResult(int) - Method in class de.aikiit.game.kaiser.KaiserEnginePrinter
-
Show population result of the current round.
I
- intro() - Method in class de.aikiit.game.kaiser.KaiserGame
-
Shows information about the game flow and welcomes the player.
K
- KaiserActions - Class in de.aikiit.game.kaiser
-
This class contains all available actions that have to be taken by the player of the game.
- KaiserActions() - Constructor for class de.aikiit.game.kaiser.KaiserActions
- KaiserEngine - Class in de.aikiit.game.kaiser
-
This class encapsulates the game's logics and operations on its attributes.
- KaiserEngine() - Constructor for class de.aikiit.game.kaiser.KaiserEngine
-
Default constructor to start a game with the given default settings.
- KaiserEnginePrinter - Class in de.aikiit.game.kaiser
-
This class contains static helper methods to print results or calculation or status information of the currently running game.
- KaiserEnginePrinter(KaiserEngine) - Constructor for class de.aikiit.game.kaiser.KaiserEnginePrinter
- KaiserGame - Class in de.aikiit.game.kaiser
-
This class encapsulates the actual game flow.
- KaiserGame() - Constructor for class de.aikiit.game.kaiser.KaiserGame
- KaiserGame(KaiserEngine) - Constructor for class de.aikiit.game.kaiser.KaiserGame
M
- main(String[]) - Static method in class de.aikiit.game.kaiser.GameKaiserJavaApplication
- MAX_ROUNDS - Static variable in class de.aikiit.game.kaiser.KaiserGame
-
The player can play at most this number of rounds.
O
- ORANGE - Static variable in class de.aikiit.game.kaiser.KaiserEnginePrinter
P
- processFamine() - Method in class de.aikiit.game.kaiser.KaiserEngine
-
Evaluate internally, if a famine is happening in the current round.
R
- refreshFamineQuotient() - Method in class de.aikiit.game.kaiser.KaiserEngine
-
Explicitly trigger the recalculation of the given internal famine calculation factor.
- run() - Method in class de.aikiit.game.kaiser.KaiserGame
-
Start the game and allow player interactions until the maximum number of rounds is reached.
S
- sell(KaiserEngine) - Static method in class de.aikiit.game.kaiser.KaiserActions
-
Perform a sell operation in the current game.
- sellLand(Long) - Method in class de.aikiit.game.kaiser.KaiserEngine
-
Performs an act of selling land (resulting in an increase of supplies as the land is sold to the current land price).
- setArea(BigDecimal) - Method in class de.aikiit.game.kaiser.KaiserEngine
- setQ(BigDecimal) - Method in class de.aikiit.game.kaiser.KaiserEngine
- setSupplies(BigDecimal) - Method in class de.aikiit.game.kaiser.KaiserEngine
- startNewRound() - Method in class de.aikiit.game.kaiser.KaiserEngine
-
Starts a new round in performs initial calculations before user actions are taken into account.
- status() - Method in class de.aikiit.game.kaiser.KaiserGame
-
Shows the underlying status of the current round the player is in.
All Classes and Interfaces|All Packages|Constant Field Values