public final class GameResult extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GameResult.Result |
| Constructor and Description |
|---|
GameResult(GameResult.Result result,
GameState lastGameState,
Optional<String> killer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Optional<String> |
getKiller()
Name of the player that killed the bot.
|
GameState |
getLastGameState()
Last game state received before game was finished.
|
List<String> |
getPlayerNames()
Names of all players that played in the game.
|
String |
getReplayId()
|
GameResult.Result |
getResult() |
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"result","lastGameState","killer"}) public GameResult(GameResult.Result result, GameState lastGameState, Optional<String> killer)
public String getReplayId()
public GameResult.Result getResult()
public GameState getLastGameState()
Copyright © 2017. All rights reserved.