- GameCoordinator - Class in pl.joegreen.sergeants.framework
-
- GameLostApiResponse - Class in pl.joegreen.sergeants.api.response
-
- GameLostApiResponse(int) - Constructor for class pl.joegreen.sergeants.api.response.GameLostApiResponse
-
- GameResult - Class in pl.joegreen.sergeants.framework.model
-
- GameResult(GameResult.Result, GameState, Optional<String>) - Constructor for class pl.joegreen.sergeants.framework.model.GameResult
-
- GameResult.Result - Enum in pl.joegreen.sergeants.framework.model
-
- GameStartApiResponse - Class in pl.joegreen.sergeants.api.response
-
- GameStartApiResponse(int, String, String, String, String[], Integer[]) - Constructor for class pl.joegreen.sergeants.api.response.GameStartApiResponse
-
- GameStarted - Class in pl.joegreen.sergeants.framework.model
-
- GameStarted(GameStartApiResponse) - Constructor for class pl.joegreen.sergeants.framework.model.GameStarted
-
- GameState - Class in pl.joegreen.sergeants.framework.model
-
- GameState.Field - Class in pl.joegreen.sergeants.framework.model
-
- GameState.VisibleField - Class in pl.joegreen.sergeants.framework.model
-
- GameUpdateApiResponse - Class in pl.joegreen.sergeants.api.response
-
- GameUpdateApiResponse(int, int[], int[], int[], int, ScoreApiResponse[], double[]) - Constructor for class pl.joegreen.sergeants.api.response.GameUpdateApiResponse
-
- GeneralsApi - Class in pl.joegreen.sergeants.api
-
- getArguments() - Method in class pl.joegreen.sergeants.api.test.FakeSocket.Event
-
- getArmy() - Method in class pl.joegreen.sergeants.framework.model.GameState.VisibleField
-
- getArmy() - Method in class pl.joegreen.sergeants.framework.model.Player
-
Total army owned by player.
- getAttackIndex() - Method in class pl.joegreen.sergeants.api.response.GameUpdateApiResponse
-
"the attackIndex field is unnecessary for bots -- it's used by our client to show/hide attack arrows when appropriate."
- getBareApi() - Method in interface pl.joegreen.sergeants.framework.Actions
-
- getChatRoom() - Method in class pl.joegreen.sergeants.api.response.GameStartApiResponse
-
- getChatRoom() - Method in class pl.joegreen.sergeants.framework.model.GameState
-
Identifier of the main game chat room.
- getCitiesDiff() - Method in class pl.joegreen.sergeants.api.response.GameUpdateApiResponse
-
Diff to update the array with cities representation.
- getCol() - Method in class pl.joegreen.sergeants.framework.model.Position
-
- getColumns() - Method in class pl.joegreen.sergeants.framework.model.GameState
-
Horizontal size of the map.
- getDuel() - Method in class pl.joegreen.sergeants.api.response.RanksApiResponse
-
Ranking in 1v1 games.
- getDuel() - Method in class pl.joegreen.sergeants.api.response.StarsApiResponse
-
Stars in 1v1 games.
- getFfa() - Method in class pl.joegreen.sergeants.api.response.RanksApiResponse
-
Ranking in FFA games.
- getFfa() - Method in class pl.joegreen.sergeants.api.response.StarsApiResponse
-
Stars in FFA games.
- getFields() - Method in class pl.joegreen.sergeants.framework.model.GameState
-
- getFields() - Method in class pl.joegreen.sergeants.framework.model.Player
-
Number of fields owned by player.
- getFieldsMap() - Method in class pl.joegreen.sergeants.framework.model.GameState
-
- getGenerals() - Method in class pl.joegreen.sergeants.api.response.GameUpdateApiResponse
-
Array of indexes of generals, indexed with player index.
- getIndex() - Method in class pl.joegreen.sergeants.api.response.ScoreApiResponse
-
Player index.
- getIndex() - Method in class pl.joegreen.sergeants.framework.model.GameState.Field
-
- getIndex() - Method in class pl.joegreen.sergeants.framework.model.Player
-
- getKiller() - Method in class pl.joegreen.sergeants.api.response.GameLostApiResponse
-
Index of the player that killed the bot.
- getKiller() - Method in class pl.joegreen.sergeants.framework.model.GameResult
-
Name of the player that killed the bot.
- getLastGameState() - Method in class pl.joegreen.sergeants.framework.model.GameResult
-
Last game state received before game was finished.
- getMapDiff() - Method in class pl.joegreen.sergeants.api.response.GameUpdateApiResponse
-
Diff to update the array with map (tiles/armies) representation.
- getMessage() - Method in class pl.joegreen.sergeants.framework.model.ChatMessage
-
- getMyPlayer() - Method in class pl.joegreen.sergeants.framework.model.GameState
-
Representation of bot's player.
- getMyPlayerIndex() - Method in class pl.joegreen.sergeants.framework.model.GameState
-
Index of bot's player.
- getMyTeamIndexes() - Method in class pl.joegreen.sergeants.framework.model.GameState
-
Indexes of players being in the same team as bot.
- getName() - Method in class pl.joegreen.sergeants.api.test.FakeSocket.Event
-
- getNeighbours() - Method in class pl.joegreen.sergeants.framework.model.GameState.Field
-
Returns fields that can be reached from this field in one move.
- getOwnerIndex() - Method in class pl.joegreen.sergeants.framework.model.GameState.VisibleField
-
Index of player that owns the field.
- getPlayerIndex() - Method in class pl.joegreen.sergeants.api.response.ChatMessageApiResponse
-
Player index of the author of the message.
- getPlayerIndex() - Method in class pl.joegreen.sergeants.api.response.GameStartApiResponse
-
Index of bot's player.
- getPlayerNames() - Method in class pl.joegreen.sergeants.framework.model.GameResult
-
Names of all players that played in the game.
- getPlayers() - Method in class pl.joegreen.sergeants.framework.model.GameState
-
Players currently playing and those already dead.
- getPosition() - Method in class pl.joegreen.sergeants.framework.model.GameState.Field
-
- getReceivedEventsByName(String) - Method in class pl.joegreen.sergeants.api.test.FakeSocket
-
- getReplayId() - Method in class pl.joegreen.sergeants.api.response.GameStartApiResponse
-
Replay identifier.
- getReplayId() - Method in class pl.joegreen.sergeants.framework.model.GameResult
-
- getReplayId() - Method in class pl.joegreen.sergeants.framework.model.GameStarted
-
- getReplayId() - Method in class pl.joegreen.sergeants.framework.model.GameState
-
Replay identifier.
- getResult() - Method in class pl.joegreen.sergeants.framework.model.GameResult
-
- getRoomType() - Method in class pl.joegreen.sergeants.framework.model.ChatMessage
-
- getRow() - Method in class pl.joegreen.sergeants.framework.model.Position
-
- getRows() - Method in class pl.joegreen.sergeants.framework.model.GameState
-
Vertical size of the map.
- getScores() - Method in class pl.joegreen.sergeants.api.response.GameUpdateApiResponse
-
Array indexed by player index, includes things shown in the score table (titles, army, is dead).
- getStars() - Method in class pl.joegreen.sergeants.api.response.GameUpdateApiResponse
-
- getTeam() - Method in class pl.joegreen.sergeants.framework.model.Player
-
Identifier of a team that player belongs to.
- getTeamChatRoom() - Method in class pl.joegreen.sergeants.api.response.GameStartApiResponse
-
- getTeamChatRoom() - Method in class pl.joegreen.sergeants.framework.model.GameState
-
Identifier of the private team chat room.
- getTeams() - Method in class pl.joegreen.sergeants.api.response.GameStartApiResponse
-
Array if team identifiers of each player, indexed by player index.
- getText() - Method in class pl.joegreen.sergeants.api.response.ChatMessageApiResponse
-
Actual content of the message
- getTiles() - Method in class pl.joegreen.sergeants.api.response.ScoreApiResponse
-
Number of map tiles owned.
- getTotal() - Method in class pl.joegreen.sergeants.api.response.ScoreApiResponse
-
Total army size.
- getTurn() - Method in class pl.joegreen.sergeants.api.response.GameUpdateApiResponse
-
- getTurn() - Method in class pl.joegreen.sergeants.framework.model.GameState
-
"Server turn" which is increased after every update (possibility of making a move).
- getTwoDimensionalArrayOfFields() - Method in class pl.joegreen.sergeants.framework.model.GameState
-
- getTwoVsTwo() - Method in class pl.joegreen.sergeants.api.response.RanksApiResponse
-
Ranking in 2v2 games.
- getTwoVsTwo() - Method in class pl.joegreen.sergeants.api.response.StarsApiResponse
-
Stars in 2v2 games.
- getUserId() - Method in class pl.joegreen.sergeants.framework.user.UserConfiguration
-
- getUsername() - Method in class pl.joegreen.sergeants.api.response.ChatMessageApiResponse
-
Name of the author of the message.
- getUsername() - Method in class pl.joegreen.sergeants.framework.model.ChatMessage
-
- getUsername() - Method in class pl.joegreen.sergeants.framework.model.Player
-
- getUsernames() - Method in class pl.joegreen.sergeants.api.response.GameStartApiResponse
-
Array of player names, indexed by player index.
- getUsernames() - Method in class pl.joegreen.sergeants.framework.model.GameStarted
-
- getVisibleFields() - Method in class pl.joegreen.sergeants.framework.model.GameState
-
- getVisibleFieldsMap() - Method in class pl.joegreen.sergeants.framework.model.GameState
-
- getVisibleNeighbours() - Method in class pl.joegreen.sergeants.framework.model.GameState.Field
-