| Package | Description |
|---|---|
| pl.joegreen.sergeants.framework | |
| pl.joegreen.sergeants.framework.model |
| Modifier and Type | Method and Description |
|---|---|
default void |
Bot.onGameStateUpdate(GameState newGameState) |
| Modifier and Type | Method and Description |
|---|---|
static GameState |
GameState.createInitialGameState(GameStartApiResponse startData,
GameUpdateApiResponse firstUpdateData)
Creates the first game state just after the game is started.
|
GameState |
GameResult.getLastGameState()
Last game state received before game was finished.
|
GameState |
GameState.update(GameUpdateApiResponse gameUpdateData)
Updates game state from previous turn with new information received from server.
|
| Constructor and Description |
|---|
GameResult(GameResult.Result result,
GameState lastGameState,
Optional<String> killer) |
Copyright © 2017. All rights reserved.