| Package | Description |
|---|---|
| pl.joegreen.sergeants.framework.model | |
| pl.joegreen.sergeants.framework.model.api |
| Modifier and Type | Method and Description |
|---|---|
default Player |
GameState.getMyPlayer() |
Player |
Player.withArmy(Integer army)
Total army owned by player.
|
Player |
Player.withDead(boolean dead)
True if player has already lost the game.
|
Player |
Player.withFields(Integer fields)
Number of fields owned by player.
|
Player |
Player.withIndex(Integer index) |
Player |
Player.withTeam(Integer team)
Identifier of a team that player belongs to.
|
Player |
Player.withUsername(String username) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<Player> |
GameState.getPlayers()
Players currently playing and those already dead.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<Player> |
UpdatableGameState.getPlayers() |
Copyright © 2017. All rights reserved.