- 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
-
- GameResult - Class in com.codingame.gameengine.runner.dto
-
- GameResult() - Constructor for class com.codingame.gameengine.runner.dto.GameResult
-
- GameRunner - Class in com.codingame.gameengine.runner
-
The class to use to run local games and display the replay in a webpage on a temporary local server.
- GameRunner() - Constructor for class com.codingame.gameengine.runner.GameRunner
-
Create a new GameRunner with no referee input.
- GameRunner(Properties) - Constructor for class com.codingame.gameengine.runner.GameRunner
-
Create a new GameRunner with no referee input.
- 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.GameManager
-
Get all the active players.
- getAlpha() - Method in class com.codingame.gameengine.module.entities.Entity
-
Returns the alpha of this Entity
as a percentage.
- 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.AbstractPlayer
-
Returns an integer that will be converted into the player's real color by the viewer.
- getDuration() - Method in class com.codingame.gameengine.module.entities.SpriteAnimation
-
Returns the duration of the animation in milliseconds.
- getExpectedOutputLines() - Method in class com.codingame.gameengine.core.AbstractPlayer
-
Returns the number of lines that the player must return.
- getFillColor() - Method in class com.codingame.gameengine.module.entities.Text
-
Returns the color of the fill of this Text
as an RGB integer.
- getFontFamily() - Method in class com.codingame.gameengine.module.entities.Text
-
Returns the name of the font of this Text
in px.
- getFontSize() - Method in class com.codingame.gameengine.module.entities.Text
-
Returns the size of the font of this Text
in px.
- getFrameDuration() - Method in class com.codingame.gameengine.core.GameManager
-
Returns the duration in milliseconds for the frame currently being computed.
- getHeight() - Method in class com.codingame.gameengine.module.entities.Rectangle
-
Returns the height of this Rectangle
in world units.
- getHeight() - Method in class com.codingame.gameengine.module.entities.World
-
Returns the height of this world.
- getId() - Method in class com.codingame.gameengine.module.entities.Entity
-
Returns a unique identifier for this Entity
.
- getImage() - Method in class com.codingame.gameengine.module.entities.Sprite
-
Returns the name of the image used for this Sprite
.
- getImages() - Method in class com.codingame.gameengine.module.entities.SpriteAnimation
-
Returns the names of the images used for this animation.
- getIndex() - Method in class com.codingame.gameengine.core.AbstractPlayer
-
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.GameManager
-
Get player with index i
- getPlayerCount() - Method in class com.codingame.gameengine.core.GameManager
-
Get initial number of players.
- getPlayers() - Method in class com.codingame.gameengine.core.GameManager
-
Get all the players.
- getRadius() - Method in class com.codingame.gameengine.module.entities.Circle
-
Returns the radius of this Circle
in world units.
- getRotation() - Method in class com.codingame.gameengine.module.entities.Entity
-
Returns the rotation of this Entity
in radians.
- getScaleX() - Method in class com.codingame.gameengine.module.entities.Entity
-
Returns the horizontal scale of this Entity
as a percentage.
- getScaleY() - Method in class com.codingame.gameengine.module.entities.Entity
-
Returns the vertical scale of this Entity
as a percentage.
- getScore() - Method in class com.codingame.gameengine.core.AbstractPlayer
-
Get current score.
- getStrokeColor() - Method in class com.codingame.gameengine.module.entities.Text
-
Returns the color of the stroke of this Text
as an RGB integer.
- getStrokeThickness() - Method in class com.codingame.gameengine.module.entities.Text
-
Returs the thickness of the stroke of this Text
in pixels.
- getText() - Method in class com.codingame.gameengine.module.entities.Text
-
Returns the string this Text
displays.
- getTurnMaxTime() - Method in class com.codingame.gameengine.core.GameManager
-
Get the timeout delay for every players.
- getWidth() - Method in class com.codingame.gameengine.module.entities.Rectangle
-
Returns the width of this Rectangle
in world units.
- getWidth() - Method in class com.codingame.gameengine.module.entities.World
-
Returns the width of this world.
- getWorld() - Method in class com.codingame.gameengine.module.entities.GraphicEntityModule
-
- getX() - Method in class com.codingame.gameengine.module.entities.Entity
-
Returns the X coordinate of this Entity
in world units.
- getX2() - Method in class com.codingame.gameengine.module.entities.Line
-
Returns the X coordinate of this Line
's end point.
- getY() - Method in class com.codingame.gameengine.module.entities.Entity
-
Returns the Y coordinate of this Entity
in world units.
- getY2() - Method in class com.codingame.gameengine.module.entities.Line
-
Returns the Y coordinate of this Line
's end point.
- getZIndex() - Method in class com.codingame.gameengine.module.entities.Entity
-
Returns the z-index of this Entity
used to compute the display order for overlapping entities.
- GraphicEntityModule - Class in com.codingame.gameengine.module.entities
-
The GraphicEntityModule takes care of displaying and animating graphical entities on the replay of the game.
- Group - Class in com.codingame.gameengine.module.entities
-
A Group is an Entity which acts as a container for other entities.