- GameManager<T extends AbstractPlayer> - Class in com.codingame.gameengine.core
-
The GameManager takes care of running each turn of the game and computing each visual frame of the replay.
- GameManager() - Constructor for class com.codingame.gameengine.core.GameManager
-
- gameTurn(int) - Method in class com.codingame.gameengine.core.AbstractReferee
-
Called on the computation of each turn of the game.
- getActivePlayers() - Method in class com.codingame.gameengine.core.MultiplayerGameManager
-
Get all the active players.
- getAvatarToken() - Method in class com.codingame.gameengine.core.AbstractPlayer
-
Returns a string that will be converted into the real avatar by the viewer, if it exists.
- getColorToken() - Method in class com.codingame.gameengine.core.AbstractMultiplayerPlayer
-
Returns an integer that will be converted into the player's real color by the viewer.
- getExpectedOutputLines() - Method in class com.codingame.gameengine.core.AbstractPlayer
-
Returns the number of lines that the player must return.
- getFrameDuration() - Method in class com.codingame.gameengine.core.GameManager
-
Returns the duration in milliseconds for the frame currently being computed.
- getGameParameters() - Method in class com.codingame.gameengine.core.MultiplayerGameManager
-
The game parameters are used to get additional information from the Game Runner.
- getGameSummaryOutputCommand() - Method in class com.codingame.gameengine.core.GameManager
-
- getGameSummaryOutputCommand() - Method in class com.codingame.gameengine.core.MultiplayerGameManager
-
- getGameSummaryOutputCommand() - Method in class com.codingame.gameengine.core.SoloGameManager
-
- getIndex() - Method in class com.codingame.gameengine.core.AbstractMultiplayerPlayer
-
Get player index from 0 (included) to number of players (excluded).
- getLeagueLevel() - Method in class com.codingame.gameengine.core.GameManager
-
Get current league level.
- getMaxTurns() - Method in class com.codingame.gameengine.core.GameManager
-
Get the maximum amount of turns.
- getNicknameToken() - Method in class com.codingame.gameengine.core.AbstractPlayer
-
Returns a string that will be converted into the real nickname by the viewer.
- getOutputs() - Method in class com.codingame.gameengine.core.AbstractPlayer
-
Gets the output obtained after an execution.
- getPlayer(int) - Method in class com.codingame.gameengine.core.MultiplayerGameManager
-
Get player with index i
- getPlayer() - Method in class com.codingame.gameengine.core.SoloGameManager
-
Get the player
- getPlayerCount() - Method in class com.codingame.gameengine.core.MultiplayerGameManager
-
Get initial number of players.
- getPlayers() - Method in class com.codingame.gameengine.core.MultiplayerGameManager
-
Get all the players.
- getScore() - Method in class com.codingame.gameengine.core.AbstractMultiplayerPlayer
-
Get current score.
- getSeed() - Method in class com.codingame.gameengine.core.MultiplayerGameManager
-
The seed is used to generated parameters such as width and height.
If a seed is present in the given input, the input value should override the generated values.
- getTestCase() - Method in class com.codingame.gameengine.core.SoloGameManager
-
Returns the current testcase the game got at initialization.
- getTurnMaxTime() - Method in class com.codingame.gameengine.core.GameManager
-
Get the timeout delay for every players.