Index

A B C D E F G I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractMultiplayerPlayer - Class in com.codingame.gameengine.core
The representation of a player's AI during the game's execution.
AbstractMultiplayerPlayer() - Constructor for class com.codingame.gameengine.core.AbstractMultiplayerPlayer
 
AbstractPlayer - Class in com.codingame.gameengine.core
The representation of the/a player's AI during the game's execution.
AbstractPlayer() - Constructor for class com.codingame.gameengine.core.AbstractPlayer
 
AbstractPlayer.TimeoutException - Exception in com.codingame.gameengine.core
An Exception thrown by getOutputs() when the player's AI did not respond in time after an execute().
AbstractReferee - Class in com.codingame.gameengine.core
The Referee is the brain of your game, it implements all the rules and the turn order.
AbstractReferee() - Constructor for class com.codingame.gameengine.core.AbstractReferee
 
AbstractSoloPlayer - Class in com.codingame.gameengine.core
The representation of the player's AI during the game's execution.
AbstractSoloPlayer() - Constructor for class com.codingame.gameengine.core.AbstractSoloPlayer
 
add(Entity<?>...) - Method in class com.codingame.gameengine.module.entities.ContainerBasedEntity
Adds the given Entity instances to this ContainerBasedEntity.
ADD - Enum constant in enum class com.codingame.gameengine.module.entities.BlendableEntity.BlendMode
Adds pixel values of one layer with the other.
addAgent(Class<?>) - Method in class com.codingame.gameengine.runner.MultiplayerGameRunner
Adds an AI to the next game to run.
addAgent(Class<?>, String) - Method in class com.codingame.gameengine.runner.MultiplayerGameRunner
Adds an AI to the next game to run, with the specified nickname.
addAgent(Class<?>, String, String) - Method in class com.codingame.gameengine.runner.MultiplayerGameRunner
Adds an AI to the next game to run.
addAgent(String) - Method in class com.codingame.gameengine.runner.MultiplayerGameRunner
Adds an AI to the next game to run.
addAgent(String[]) - Method in class com.codingame.gameengine.runner.MultiplayerGameRunner
Adds an AI to the next game to run.
addAgent(String[], String) - Method in class com.codingame.gameengine.runner.MultiplayerGameRunner
Adds an AI to the next game to run.
addAgent(String[], String, String) - Method in class com.codingame.gameengine.runner.MultiplayerGameRunner
Adds an AI to the next game to run.
addAgent(String, String) - Method in class com.codingame.gameengine.runner.MultiplayerGameRunner
Adds an AI to the next game to run, with the specified nickname.
addAgent(String, String, String) - Method in class com.codingame.gameengine.runner.MultiplayerGameRunner
Adds an AI to the next game to run.
addPoint(int, int) - Method in class com.codingame.gameengine.module.entities.Polygon
Adds a point to the path of this Polygon.
addToGameSummary(String) - Method in class com.codingame.gameengine.core.GameManager
Add a new line to the game summary for the current turn.
addTooltip(AbstractPlayer, String) - Method in class com.codingame.gameengine.core.GameManager
Adds a tooltip for the current turn.
addTooltip(Tooltip) - Method in class com.codingame.gameengine.core.GameManager
Adds a tooltip for the current turn.
addTrackedEntity(Entity<?>) - Method in class com.codingame.gameengine.module.camera.CameraModule
Make the camera include the entity in its field of view
AGENT_MAX_BUFFER_SIZE - Static variable in class com.codingame.gameengine.runner.JavaPlayerAgent
 
AgentData - Class in com.codingame.gameengine.runner.simulate
A data class for Agent data.
AgentData(int, String, String) - Constructor for class com.codingame.gameengine.runner.simulate.AgentData
Player agent used in the execution of this game launch.
AgentDto - Class in com.codingame.gameengine.runner.dto
A data transfer object for Agent data.
AgentDto() - Constructor for class com.codingame.gameengine.runner.dto.AgentDto
 
agentId - Variable in class com.codingame.gameengine.runner.dto.AgentDto
 
agents - Variable in class com.codingame.gameengine.runner.dto.GameResultDto
 
agents - Variable in class com.codingame.gameengine.runner.simulate.GameResult
The list of player agents used for this game launch.
allPlayersInactive() - Method in class com.codingame.gameengine.core.GameManager
 
allPlayersInactive() - Method in class com.codingame.gameengine.core.MultiplayerGameManager
 
allPlayersInactive() - Method in class com.codingame.gameengine.core.SoloGameManager
 
avatar - Variable in class com.codingame.gameengine.runner.dto.AgentDto
 
avatarUrl - Variable in class com.codingame.gameengine.runner.simulate.AgentData
The avatar used by this player agent.

B

BitmapText - Class in com.codingame.gameengine.module.entities
Represents a label on screen, you can use any bitmap font in your asset folder as it's font.
BitmapText() - Constructor for class com.codingame.gameengine.module.entities.BitmapText
 
BlendableEntity<T extends Entity<?>> - Class in com.codingame.gameengine.module.entities
Any PIXI Entity that can be attributed a BlendMode.
BlendableEntity() - Constructor for class com.codingame.gameengine.module.entities.BlendableEntity
 
BlendableEntity.BlendMode - Enum Class in com.codingame.gameengine.module.entities
The list of supported PIXI blend modes and their associated constant.
BOLD - Enum constant in enum class com.codingame.gameengine.module.entities.Text.FontWeight
 
BOLDER - Enum constant in enum class com.codingame.gameengine.module.entities.Text.FontWeight
 
BufferedGroup - Class in com.codingame.gameengine.module.entities
A BufferedGroup is an Entity which acts as a container for other entities.
BufferedGroup() - Constructor for class com.codingame.gameengine.module.entities.BufferedGroup
 
buildInitCommand(Command) - Method in class com.codingame.gameengine.runner.MultiplayerGameRunner
 
buildInitCommand(Command) - Method in class com.codingame.gameengine.runner.SoloGameRunner
 

C

CameraModule - Class in com.codingame.gameengine.module.camera
The CameraModule allow you to have a dynamic camera following a set of objects
CENTER - Enum constant in enum class com.codingame.gameengine.module.entities.TextBasedEntity.TextAlign
Align text center
Circle - Class in com.codingame.gameengine.module.entities
A Circle specifies an area in a the world defined by the Circle's center point (x,y) and its radius.
clearPoints() - Method in class com.codingame.gameengine.module.entities.Polygon
Clears the path of this Polygon.
com.codingame.gameengine.core - package com.codingame.gameengine.core
 
com.codingame.gameengine.module.camera - package com.codingame.gameengine.module.camera
 
com.codingame.gameengine.module.endscreen - package com.codingame.gameengine.module.endscreen
 
com.codingame.gameengine.module.entities - package com.codingame.gameengine.module.entities
 
com.codingame.gameengine.module.toggle - package com.codingame.gameengine.module.toggle
 
com.codingame.gameengine.module.tooltip - package com.codingame.gameengine.module.tooltip
 
com.codingame.gameengine.module.viewport - package com.codingame.gameengine.module.viewport
 
com.codingame.gameengine.runner - package com.codingame.gameengine.runner
 
com.codingame.gameengine.runner.dto - package com.codingame.gameengine.runner.dto
 
com.codingame.gameengine.runner.simulate - package com.codingame.gameengine.runner.simulate
 
CommandLinePlayerAgent - Class in com.codingame.gameengine.runner
This class is used in with the GameRunner to add an AI as a player.
CommandLinePlayerAgent(String) - Constructor for class com.codingame.gameengine.runner.CommandLinePlayerAgent
Creates an Agent for your game, will run the given commandLine at game start
CommandLinePlayerAgent(String[]) - Constructor for class com.codingame.gameengine.runner.CommandLinePlayerAgent
Creates an Agent for your game, will run the given commandLine at game start
commitEntityState(double, Entity<?>...) - Method in class com.codingame.gameengine.module.entities.GraphicEntityModule
This entity's graphical counterpart, at instant t of the frame being computed, will have the same properties as the java object as it is now.
commitWorldState(double) - Method in class com.codingame.gameengine.module.entities.GraphicEntityModule
Creates a commit for each entity that has had some of its properties modified since a previous commit or the previous frame.
ConfigResponseDto - Class in com.codingame.gameengine.runner.dto
A data transfer object for level configuration data.
ConfigResponseDto() - Constructor for class com.codingame.gameengine.runner.dto.ConfigResponseDto
 
ContainerBasedEntity<T extends Entity<?>> - Class in com.codingame.gameengine.module.entities
 
createBitmapText() - Method in class com.codingame.gameengine.module.entities.GraphicEntityModule
Creates a new BitmapText entity, its graphical counterpart will be created on the frame currently being computed.
createBufferedGroup(Entity<?>...) - Method in class com.codingame.gameengine.module.entities.GraphicEntityModule
Creates a new BufferedGroup entity, its graphical counterpart will be created on the frame currently being computed.
createCircle() - Method in class com.codingame.gameengine.module.entities.GraphicEntityModule
Creates a new Circle entity, its graphical counterpart will be created on the frame currently being computed.
createGroup(Entity<?>...) - Method in class com.codingame.gameengine.module.entities.GraphicEntityModule
Creates a new Group entity, its graphical counterpart will be created on the frame currently being computed.
createLine() - Method in class com.codingame.gameengine.module.entities.GraphicEntityModule
Creates a new Line entity, its graphical counterpart will be created on the frame currently being computed.
createPolygon() - Method in class com.codingame.gameengine.module.entities.GraphicEntityModule
Creates a new Polygon entity, its graphical counterpart will be created on the frame currently being computed.
createRectangle() - Method in class com.codingame.gameengine.module.entities.GraphicEntityModule
Creates a new Rectangle entity, its graphical counterpart will be created on the frame currently being computed.
createRoundedRectangle() - Method in class com.codingame.gameengine.module.entities.GraphicEntityModule
Creates a new RoundedRectangle entity, its graphical counterpart will be created on the frame currently being computed.
createSprite() - Method in class com.codingame.gameengine.module.entities.GraphicEntityModule
Creates a new Sprite entity, its graphical counterpart will be created on the frame currently being computed.
createSpriteAnimation() - Method in class com.codingame.gameengine.module.entities.GraphicEntityModule
Creates a new Sprite animation, its graphical counterpart will be created on the frame currently being computed.
createSpriteSheetSplitter() - Method in class com.codingame.gameengine.module.entities.GraphicEntityModule
Create a spritesheet splitter.
createText() - Method in class com.codingame.gameengine.module.entities.GraphicEntityModule
Creates a new Text entity, its graphical counterpart will be created on the frame currently being computed.
createText(String) - Method in class com.codingame.gameengine.module.entities.GraphicEntityModule
Creates a new Text entity, its graphical counterpart will be created on the frame currently being computed.
createTilingSprite() - Method in class com.codingame.gameengine.module.entities.GraphicEntityModule
Creates a new TilingSprite entity, its graphical counterpart will be created on the frame currently being computed.
createViewport(Group) - Method in class com.codingame.gameengine.module.viewport.ViewportModule
Wraps the given Group in a Viewport.
createWorld(int, int) - Method in class com.codingame.gameengine.module.entities.GraphicEntityModule
Creates a new world data object to be used to compute all frames throughout the game.
criteria - Variable in class com.codingame.gameengine.runner.dto.ConfigResponseDto
 
criteriaEn - Variable in class com.codingame.gameengine.runner.dto.ConfigResponseDto
 
criteriaFr - Variable in class com.codingame.gameengine.runner.dto.ConfigResponseDto
 
Curve - Enum Class in com.codingame.gameengine.module.entities
The function that will be used to animate the transition of given properties between two states of an Entity.

D

deactivate() - Method in class com.codingame.gameengine.core.AbstractMultiplayerPlayer
Deactivate a player.
deactivate(String) - Method in class com.codingame.gameengine.core.AbstractMultiplayerPlayer
Deactivate a player and adds a tooltip with the reason.
DEFAULT_HEIGHT - Static variable in class com.codingame.gameengine.module.entities.World
The default World's height.
DEFAULT_WIDTH - Static variable in class com.codingame.gameengine.module.entities.World
The default World's width.
destroy() - Method in class com.codingame.gameengine.runner.CommandLinePlayerAgent
 
destroy() - Method in class com.codingame.gameengine.runner.JavaPlayerAgent
 
displayOnToggleState(Entity<?>, String, boolean) - Method in class com.codingame.gameengine.module.toggle.ToggleModule
Will display the entity only when the toggle state matches the state you set
dumpGameProperties() - Method in class com.codingame.gameengine.core.GameManager
 
dumpGameProperties() - Method in class com.codingame.gameengine.core.MultiplayerGameManager
 

E

EASE_IN - Enum constant in enum class com.codingame.gameengine.module.entities.Curve
Start changing slowly and finish fast.
EASE_IN_AND_OUT - Enum constant in enum class com.codingame.gameengine.module.entities.Curve
Start changing slowly, accelerate, then slowly again.
EASE_OUT - Enum constant in enum class com.codingame.gameengine.module.entities.Curve
Start changing fast and finish slowly.
ELASTIC - Enum constant in enum class com.codingame.gameengine.module.entities.Curve
The value quickly increases and wobbles around the final value before settling.
endGame() - Method in class com.codingame.gameengine.core.GameManager
Set game end.
endGame() - Method in class com.codingame.gameengine.core.MultiplayerGameManager
Set game end.
EndScreenModule - Class in com.codingame.gameengine.module.endscreen
The EndScreen takes care of displaying and animating an end screen with the scores of the players at the end of the game.
Entity<T extends Entity<?>> - Class in com.codingame.gameengine.module.entities
A graphical entity, displayed on screen in the game's replay.
errors - Variable in class com.codingame.gameengine.runner.dto.GameResultDto
 
errors - Variable in class com.codingame.gameengine.runner.simulate.GameResult
Map each agent to its error output of each subframe.
event - Variable in class com.codingame.gameengine.runner.dto.TooltipDto
 
event - Variable in class com.codingame.gameengine.runner.simulate.TooltipData
Equal to the id of on of the agents, changes the tooltips colours to the colour of that player.
execute() - Method in class com.codingame.gameengine.core.AbstractPlayer
Executes the player for a maximum of turnMaxTime milliseconds and store the output.
execute() - Method in class com.codingame.gameengine.runner.JavaPlayerAgent
Compile and run an agent.
execute(T, int) - Method in class com.codingame.gameengine.core.GameManager
Executes a player for a maximum of turnMaxTime milliseconds and store the output.

F

failCause - Variable in class com.codingame.gameengine.runner.dto.GameResultDto
 
failCause - Variable in class com.codingame.gameengine.runner.simulate.GameResult
Any uncaught Exception that caused the game launch to crash.
fontSize - Variable in class com.codingame.gameengine.module.entities.TextBasedEntity
 
formatErrorMessage(String) - Static method in class com.codingame.gameengine.core.GameManager
Helper function to display a colored message.
formatSuccessMessage(String) - Static method in class com.codingame.gameengine.core.GameManager
Helper function to display a colored message.

G

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
 
gameParameters - Variable in class com.codingame.gameengine.runner.simulate.GameResult
For multiplayer games: a list of properties in the form key=value generated from GameManager.getGameParameters after the game's end.
GameResult - Class in com.codingame.gameengine.runner.simulate
A data class for the result of one game launch.
GameResult() - Constructor for class com.codingame.gameengine.runner.simulate.GameResult
 
GameResultDto - Class in com.codingame.gameengine.runner.dto
A data transfer object for game execution data.
GameResultDto() - Constructor for class com.codingame.gameengine.runner.dto.GameResultDto
 
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.
getAgentId() - Method in class com.codingame.gameengine.runner.JavaPlayerAgent
 
getAlpha() - Method in class com.codingame.gameengine.module.entities.Entity
Returns the alpha of this Entity as a percentage.
getAnchorX() - Method in class com.codingame.gameengine.module.entities.TextureBasedEntity
Returns the X anchor of this TextureBasedEntity as a percentage of its width.
getAnchorY() - Method in class com.codingame.gameengine.module.entities.TextureBasedEntity
Returns the Y anchor of this TextureBasedEntity as a percentage of its width.
getAvatar() - Method in class com.codingame.gameengine.runner.JavaPlayerAgent
 
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.
getBaseHeight() - Method in class com.codingame.gameengine.module.entities.SpriteBasedEntity
Returns the image base height for this Sprite.
getBaseWidth() - Method in class com.codingame.gameengine.module.entities.SpriteBasedEntity
Returns the image base width for this Sprite.
getBlendMode() - Method in class com.codingame.gameengine.module.entities.BlendableEntity
Returns the BlendMode this TextureBasedEntity is to be drawn with.
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.
getDuration() - Method in class com.codingame.gameengine.module.entities.SpriteAnimation
Returns the duration of the animation in milliseconds.
getErrorStream() - Method in class com.codingame.gameengine.runner.CommandLinePlayerAgent
 
getErrorStream() - Method in class com.codingame.gameengine.runner.JavaPlayerAgent
 
getExpectedOutputLines() - Method in class com.codingame.gameengine.core.AbstractPlayer
Returns the number of lines that the player must return.
getFillAlpha() - Method in class com.codingame.gameengine.module.entities.Shape
Returns the alpha of the fill of this Shape as a percentage.
getFillColor() - Method in class com.codingame.gameengine.module.entities.Shape
Returns the color of the fill of this Shape as an RGB integer.
getFillColor() - Method in class com.codingame.gameengine.module.entities.Text
Returns the color of the fill of this Text as an RGB integer.
getFirstTurnMaxTime() - Method in class com.codingame.gameengine.core.GameManager
Get the timeout delay of the first turn for every player.
getFont() - Method in class com.codingame.gameengine.module.entities.BitmapText
Returns the name of the font of this BitmapText in px.
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.TextBasedEntity
Returns the size of the font of this TextBasedEntity in px.
getFontWeight() - Method in class com.codingame.gameengine.module.entities.Text
Returns the weight of the font of this Text.
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
 
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.RoundedRectangle
Returns the height of this RoundedRectangle in world units.
getHeight() - Method in class com.codingame.gameengine.module.entities.SpriteSheetSplitter
Returns the height of subimages
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.
getId() - Method in interface com.codingame.gameengine.module.entities.Mask
Returns a unique Entity identifier for this Mask.
getImage() - Method in class com.codingame.gameengine.module.entities.SpriteBasedEntity
Returns the name of the image used for this Sprite.
getImageCount() - Method in class com.codingame.gameengine.module.entities.SpriteSheetSplitter
Returns number of subimages to extract
getImages() - Method in class com.codingame.gameengine.module.entities.SpriteAnimation
Returns the names of the images used for this animation.
getImagesPerRow() - Method in class com.codingame.gameengine.module.entities.SpriteSheetSplitter
Returns number of subimages to extract per row.
getIndex() - Method in class com.codingame.gameengine.core.AbstractMultiplayerPlayer
Get player index from 0 (included) to number of players (excluded).
getInputStream() - Method in class com.codingame.gameengine.runner.CommandLinePlayerAgent
 
getInputStream() - Method in class com.codingame.gameengine.runner.JavaPlayerAgent
 
getLeagueLevel() - Method in class com.codingame.gameengine.core.GameManager
Get current league level.
getLineAlpha() - Method in class com.codingame.gameengine.module.entities.Shape
Returns the alpha of the border of this Shape as a percentage.
getLineColor() - Method in class com.codingame.gameengine.module.entities.Shape
Returns the color of the border of this Shape as an RGB integer.
getLineWidth() - Method in class com.codingame.gameengine.module.entities.Shape
Returns the width of the border of this Shape in world units.
getMask() - Method in class com.codingame.gameengine.module.entities.Entity
Returns this Entity's Mask.
getMaxTurns() - Method in class com.codingame.gameengine.core.GameManager
Get the maximum amount of turns.
getMaxWidth() - Method in class com.codingame.gameengine.module.entities.TextBasedEntity
Returns the maximum width of this TextBasedEntity in pixels, before it gets ellipsed.
getName() - Method in class com.codingame.gameengine.module.entities.SpriteSheetSplitter
Returns the prefix of all subimage names
getNickname() - Method in class com.codingame.gameengine.runner.JavaPlayerAgent
 
getNicknameToken() - Method in class com.codingame.gameengine.core.AbstractPlayer
Returns a string that will be converted into the real nickname by the viewer.
getOrigCol() - Method in class com.codingame.gameengine.module.entities.SpriteSheetSplitter
Returns from which column of subimages to start extracting subimages
getOrigRow() - Method in class com.codingame.gameengine.module.entities.SpriteSheetSplitter
Returns from which row of subimages to start extracting subimages
getOutput(int, long) - Method in class com.codingame.gameengine.runner.JavaPlayerAgent
Get the output of an agent
getOutput(int, long) - Method in class com.codingame.gameengine.runner.CommandLinePlayerAgent
 
getOutput(int, long, boolean) - Method in class com.codingame.gameengine.runner.JavaPlayerAgent
 
getOutputs() - Method in class com.codingame.gameengine.core.AbstractPlayer
Gets the output obtained after an execution.
getOutputStream() - Method in class com.codingame.gameengine.runner.CommandLinePlayerAgent
 
getOutputStream() - Method in class com.codingame.gameengine.runner.JavaPlayerAgent
 
getParent() - Method in class com.codingame.gameengine.module.entities.Entity
 
getPlayer() - Method in class com.codingame.gameengine.core.SoloGameManager
Get the player
getPlayer(int) - Method in class com.codingame.gameengine.core.MultiplayerGameManager
Get player with index i
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.
getRadius() - Method in class com.codingame.gameengine.module.entities.Circle
Returns the radius of this Circle in world units.
getRadius() - Method in class com.codingame.gameengine.module.entities.RoundedRectangle
Returns the radius of this RoundedRectangle's corners in world units.
getRandom() - Method in class com.codingame.gameengine.core.MultiplayerGameManager
The random generator is used to generated parameters such as width and height.
The provided random generator is a SecureRandom using the SHAPRNG algorithm.
getRotation() - Method in class com.codingame.gameengine.module.entities.Entity
Returns the rotation of this Entity in radians.
getScaleMode() - Method in class com.codingame.gameengine.module.entities.SpriteBasedEntity
Returns the scale mode of this TextureBasedEntity.
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.AbstractMultiplayerPlayer
Get current score.
getSeed() - Method in class com.codingame.gameengine.core.MultiplayerGameManager
The seed is used to initialize the Random number generator.
If a seed is present in the given input, the input value should override the generated values.
The seed should NOT be used directly in referee but through the random number generator provided by @method getRandom
getSkewX() - Method in class com.codingame.gameengine.module.entities.Entity
Returns the horizontal skew of this Entity in radians.
getSkewY() - Method in class com.codingame.gameengine.module.entities.Entity
Returns the vertical skew of this Entity in radians.
getSourceImage() - Method in class com.codingame.gameengine.module.entities.SpriteSheetSplitter
Returns the image from which subimages will be extracted
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
Returns the thickness of the stroke of this Text in pixels.
getTestCaseInput() - Method in class com.codingame.gameengine.core.SoloGameManager
Returns the current test case the game got at initialization.
getText() - Method in class com.codingame.gameengine.module.entities.TextBasedEntity
Returns the string this TextBasedEntity displays.
getTextAlign() - Method in class com.codingame.gameengine.module.entities.TextBasedEntity
Returns text alignment of this TextBasedEntity.
getTileScaleX() - Method in class com.codingame.gameengine.module.entities.TilingSprite
Gets the horizontal scale of the image that is being tiled.
getTileScaleY() - Method in class com.codingame.gameengine.module.entities.TilingSprite
Gets the vertical scale of the image that is being tiled.
getTileX() - Method in class com.codingame.gameengine.module.entities.TilingSprite
Sets the X offset of the image that is being tiled.
getTileY() - Method in class com.codingame.gameengine.module.entities.TilingSprite
Sets the Y offset of the image that is being tiled.
getTint() - Method in class com.codingame.gameengine.module.entities.TextureBasedEntity
Returns the tint of this TextureBasedEntity as an RGB integer.
getTitleRankingsSprite() - Method in class com.codingame.gameengine.module.endscreen.EndScreenModule
 
getTooltipText(Entity<?>) - Method in class com.codingame.gameengine.module.tooltip.TooltipModule
 
getTurnMaxTime() - Method in class com.codingame.gameengine.core.GameManager
Get the timeout delay for every player.
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.RoundedRectangle
Returns the width of this RoundedRectangle in world units.
getWidth() - Method in class com.codingame.gameengine.module.entities.SpriteSheetSplitter
Returns the width of subimages
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.

I

ids - Variable in class com.codingame.gameengine.runner.dto.GameResultDto
 
IMMEDIATE - Enum constant in enum class com.codingame.gameengine.module.entities.Curve
Don't animate the transition, immediately use the new value to be used in the display.
index - Variable in class com.codingame.gameengine.core.AbstractPlayer
 
index - Variable in class com.codingame.gameengine.runner.dto.AgentDto
 
index - Variable in class com.codingame.gameengine.runner.simulate.AgentData
The index of this player agent.
init() - Method in class com.codingame.gameengine.core.AbstractReferee
Called on startup, this method exists to create the initial state of the game, according to the given input.
initialize(Properties) - Method in class com.codingame.gameengine.runner.CommandLinePlayerAgent
 
initialize(Properties) - Method in class com.codingame.gameengine.runner.JavaPlayerAgent
 
isActive() - Method in class com.codingame.gameengine.core.AbstractMultiplayerPlayer
Returns true is the player is still active in the game (can be executed).
isFailed() - Method in class com.codingame.gameengine.runner.JavaPlayerAgent
 
isGameEnd() - Method in class com.codingame.gameengine.core.GameManager
Check if the game has been terminated by the referee.
isInProduction() - Static method in class com.codingame.gameengine.core.RefereeMain
Is overridden by CodinGame's server side game runner
isLoop() - Method in class com.codingame.gameengine.module.entities.SpriteAnimation
Returns whether the animation should loop.
isPlaying() - Method in class com.codingame.gameengine.module.entities.SpriteAnimation
Returns whether the animation is flagged to have the graphical counterpart play the animation or to pause it.
isTracked(Entity<?>) - Method in class com.codingame.gameengine.module.camera.CameraModule
 
isVisible() - Method in class com.codingame.gameengine.module.entities.Entity
Returns whether this Entity is flagged to be drawn on screen.

J

JavaPlayerAgent - Class in com.codingame.gameengine.runner
A participating AI written as a Java class.
JavaPlayerAgent(String) - Constructor for class com.codingame.gameengine.runner.JavaPlayerAgent
 

L

LEFT - Enum constant in enum class com.codingame.gameengine.module.entities.TextBasedEntity.TextAlign
Align text left
LIGHTER - Enum constant in enum class com.codingame.gameengine.module.entities.Text.FontWeight
 
Line - Class in com.codingame.gameengine.module.entities
Represents a line segment from (x,y) to (x2,y2) in world units.
LINEAR - Enum constant in enum class com.codingame.gameengine.module.entities.Curve
The default simple linear interpolation.
LINEAR - Enum constant in enum class com.codingame.gameengine.module.entities.ScaleMode
 
log - Static variable in class com.codingame.gameengine.core.GameManager
 
log - Static variable in class com.codingame.gameengine.runner.SoloGameRunner
 
loseGame() - Method in class com.codingame.gameengine.core.SoloGameManager
Ends the game as a fail
loseGame(String) - Method in class com.codingame.gameengine.core.SoloGameManager
Ends the game as a fail with a red message

M

main(String[]) - Static method in class com.codingame.gameengine.core.RefereeMain
CodinGame's game runner will launch the referee using this method.
Mask - Interface in com.codingame.gameengine.module.entities
Entities that implement this interface can be used as a Mask by other entities.
maxPlayers - Variable in class com.codingame.gameengine.runner.dto.ConfigResponseDto
 
maxWidth - Variable in class com.codingame.gameengine.module.entities.TextBasedEntity
 
metadata - Variable in class com.codingame.gameengine.runner.dto.GameResultDto
 
metadata - Variable in class com.codingame.gameengine.runner.simulate.GameResult
A serialised JSON of anything stored in this game launch's metadata with GameManager.putMetaData.
minPlayers - Variable in class com.codingame.gameengine.runner.dto.ConfigResponseDto
 
Module - Interface in com.codingame.gameengine.core
A Module can be registered to the GameManager in order to send information to the game view or provide utility functions to the Referee.
MultiplayerGameManager<T extends AbstractMultiplayerPlayer> - Class in com.codingame.gameengine.core
The AbstractMultiplayerPlayer takes care of running each turn of a multiplayer game and computing each visual frame of the replay.
MultiplayerGameManager() - Constructor for class com.codingame.gameengine.core.MultiplayerGameManager
 
MultiplayerGameRunner - 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.
MultiplayerGameRunner() - Constructor for class com.codingame.gameengine.runner.MultiplayerGameRunner
Once this runner is instantiated, the system property game.mode is set to "multi"
MULTIPLY - Enum constant in enum class com.codingame.gameengine.module.entities.BlendableEntity.BlendMode
Multiplies the numbers for each pixel of the top layer with the corresponding pixel for the bottom layer.

N

name - Variable in class com.codingame.gameengine.runner.dto.AgentDto
 
name - Variable in class com.codingame.gameengine.runner.simulate.AgentData
The username used by this player agent.
NEAREST - Enum constant in enum class com.codingame.gameengine.module.entities.ScaleMode
 
NONE - Enum constant in enum class com.codingame.gameengine.module.entities.Curve
Don't animate the transition, wait for this commit's frame time for the new value to be used in the display.
NORMAL - Enum constant in enum class com.codingame.gameengine.module.entities.BlendableEntity.BlendMode
No pixel blend, only the values of the top layer are kept.
NORMAL - Enum constant in enum class com.codingame.gameengine.module.entities.Text.FontWeight
 

O

onAfterGameTurn() - Method in interface com.codingame.gameengine.core.Module
Called by the game manager after calling the Referee's gameTurn method.
onAfterGameTurn() - Method in class com.codingame.gameengine.module.camera.CameraModule
 
onAfterGameTurn() - Method in class com.codingame.gameengine.module.endscreen.EndScreenModule
 
onAfterGameTurn() - Method in class com.codingame.gameengine.module.entities.GraphicEntityModule
 
onAfterGameTurn() - Method in class com.codingame.gameengine.module.toggle.ToggleModule
 
onAfterGameTurn() - Method in class com.codingame.gameengine.module.tooltip.TooltipModule
 
onAfterGameTurn() - Method in class com.codingame.gameengine.module.viewport.ViewportModule
 
onAfterOnEnd() - Method in interface com.codingame.gameengine.core.Module
Called by the game manager after calling the Referee's onEnd method.
onAfterOnEnd() - Method in class com.codingame.gameengine.module.camera.CameraModule
 
onAfterOnEnd() - Method in class com.codingame.gameengine.module.endscreen.EndScreenModule
 
onAfterOnEnd() - Method in class com.codingame.gameengine.module.entities.GraphicEntityModule
 
onAfterOnEnd() - Method in class com.codingame.gameengine.module.toggle.ToggleModule
 
onAfterOnEnd() - Method in class com.codingame.gameengine.module.tooltip.TooltipModule
 
onAfterOnEnd() - Method in class com.codingame.gameengine.module.viewport.ViewportModule
 
onEnd() - Method in class com.codingame.gameengine.core.AbstractReferee
Optional.
onGameInit() - Method in interface com.codingame.gameengine.core.Module
Called by the game manager after calling the Referee's init method.
onGameInit() - Method in class com.codingame.gameengine.module.camera.CameraModule
 
onGameInit() - Method in class com.codingame.gameengine.module.endscreen.EndScreenModule
 
onGameInit() - Method in class com.codingame.gameengine.module.entities.GraphicEntityModule
 
onGameInit() - Method in class com.codingame.gameengine.module.toggle.ToggleModule
 
onGameInit() - Method in class com.codingame.gameengine.module.tooltip.TooltipModule
 
onGameInit() - Method in class com.codingame.gameengine.module.viewport.ViewportModule
 
out - Variable in class com.codingame.gameengine.core.GameManager
 
outputs - Variable in class com.codingame.gameengine.runner.dto.GameResultDto
 
outputs - Variable in class com.codingame.gameengine.runner.simulate.GameResult
Map each agent to its standard output of each subframe.

P

pause() - Method in class com.codingame.gameengine.module.entities.SpriteAnimation
Calls setPlaying(false);
play() - Method in class com.codingame.gameengine.module.entities.SpriteAnimation
Calls setPlaying(true);
players - Variable in class com.codingame.gameengine.core.GameManager
 
players - Variable in class com.codingame.gameengine.runner.SoloGameRunner
 
Polygon - Class in com.codingame.gameengine.module.entities
A Polygon specifies an area in a the world defined by a sequence of points.
putMetadata(String, double) - Method in class com.codingame.gameengine.core.GameManager
Puts a new metadata that will be included in the game's GameResult.

R

readError() - Method in class com.codingame.gameengine.runner.JavaPlayerAgent
Read all errors from standard error stream
readGameProperties(InputCommand, Scanner) - Method in class com.codingame.gameengine.core.GameManager
 
readGameProperties(InputCommand, Scanner) - Method in class com.codingame.gameengine.core.MultiplayerGameManager
 
readGameProperties(InputCommand, Scanner) - Method in class com.codingame.gameengine.core.SoloGameManager
 
Rectangle - Class in com.codingame.gameengine.module.entities
A Rectangle specifies an area in a the world enclosed by the Rectangle's upper-left point (x,y), its width, and its height.
RefereeMain - Class in com.codingame.gameengine.core
Entry point for the local GameRunner and CodinGame's server side game runner
RefereeMain() - Constructor for class com.codingame.gameengine.core.RefereeMain
 
registerModule(Module) - Method in class com.codingame.gameengine.core.GameManager
Register a module to the gameManager.
remove(Entity<?>) - Method in class com.codingame.gameengine.module.entities.ContainerBasedEntity
Separates the given entity from this ContainerBasedEntity.
removeTooltipText(Entity<?>) - Method in class com.codingame.gameengine.module.tooltip.TooltipModule
Removes the tooltip text linked to the entity
removeTrackedEntity(Entity<?>) - Method in class com.codingame.gameengine.module.camera.CameraModule
Make the camera stop tracking this entity
requireValidAlpha(double) - Static method in class com.codingame.gameengine.module.entities.Entity
 
requireValidColor(int) - Static method in class com.codingame.gameengine.module.entities.Entity
 
reset() - Method in class com.codingame.gameengine.module.entities.SpriteAnimation
Reset the progress of the animation
RIGHT - Enum constant in enum class com.codingame.gameengine.module.entities.TextBasedEntity.TextAlign
Align text right
RoundedRectangle - Class in com.codingame.gameengine.module.entities
A RoundedRectangle specifies an area in a the world enclosed by the Rectangle's upper-left point (x,y), its width, and its height.
runInputOutput() - Method in class com.codingame.gameengine.runner.CommandLinePlayerAgent
Launch the agent.
runInputOutput() - Method in class com.codingame.gameengine.runner.JavaPlayerAgent
Launch the agent.

S

ScaleMode - Enum Class in com.codingame.gameengine.module.entities
 
scores - Variable in class com.codingame.gameengine.runner.dto.GameResultDto
 
scores - Variable in class com.codingame.gameengine.runner.simulate.GameResult
Maps each player agent with the score returned by getScore from your implementation of AbstractPlayer.
SCREEN - Enum constant in enum class com.codingame.gameengine.module.entities.BlendableEntity.BlendMode
The values of the pixels in the two layers are inverted, multiplied, and then inverted again.
self() - Method in class com.codingame.gameengine.module.entities.Entity
 
sendInput(String) - Method in class com.codingame.gameengine.runner.JavaPlayerAgent
Write 'input' to standard input of agent
sendInputLine(String) - Method in class com.codingame.gameengine.core.AbstractPlayer
Adds a new line to the input to send to the player on execute.
set(String, Object) - Method in class com.codingame.gameengine.module.entities.Entity
 
set(String, Object, Curve) - Method in class com.codingame.gameengine.module.entities.Entity
 
setAgent(Class<?>) - Method in class com.codingame.gameengine.runner.SoloGameRunner
Sets an AI to the next game to run.
setAgent(Class<?>, String, String) - Method in class com.codingame.gameengine.runner.SoloGameRunner
Sets an AI to the next game to run.
setAgent(String) - Method in class com.codingame.gameengine.runner.SoloGameRunner
Sets an AI to the next game to run.
setAgent(String, String, String) - Method in class com.codingame.gameengine.runner.SoloGameRunner
Sets an AI to the next game to run.
setAgentId(int) - Method in class com.codingame.gameengine.runner.JavaPlayerAgent
 
setAlpha(double) - Method in class com.codingame.gameengine.module.entities.Entity
Sets the alpha of this Entity as a percentage.
setAlpha(double, Curve) - Method in class com.codingame.gameengine.module.entities.Entity
Sets the alpha of this Entity as a percentage.
setAnchor(double) - Method in class com.codingame.gameengine.module.entities.TextureBasedEntity
Sets both the X and Y anchors of this TextureBasedEntity as a percentage of its width and height.
setAnchorX(double) - Method in class com.codingame.gameengine.module.entities.TextureBasedEntity
Sets the X anchor of this TextureBasedEntity as a percentage of its width.
setAnchorX(double, Curve) - Method in class com.codingame.gameengine.module.entities.TextureBasedEntity
Sets the X anchor of this TextureBasedEntity as a percentage of its width.
setAnchorY(double) - Method in class com.codingame.gameengine.module.entities.TextureBasedEntity
Sets the Y anchor of this TextureBasedEntity as a percentage of its width.
setAnchorY(double, Curve) - Method in class com.codingame.gameengine.module.entities.TextureBasedEntity
Sets the Y anchor of this TextureBasedEntity as a percentage of its width.
setAvatar(String) - Method in class com.codingame.gameengine.runner.JavaPlayerAgent
 
setBaseHeight(int) - Method in class com.codingame.gameengine.module.entities.SpriteBasedEntity
Sets the image base height for this Sprite.
setBaseWidth(int) - Method in class com.codingame.gameengine.module.entities.SpriteBasedEntity
Sets the image base width for this Sprite.
setBlendMode(BlendableEntity.BlendMode) - Method in class com.codingame.gameengine.module.entities.BlendableEntity
Sets the blend mode for this TextureBasedEntity.
setCameraOffset(double) - Method in class com.codingame.gameengine.module.camera.CameraModule
Sets the camera offset to the given value.
setContainer(Entity<?>, int, int) - Method in class com.codingame.gameengine.module.camera.CameraModule
Initialize the camera with container which has to contain all the other entities tracked by the camera
setDuration(int) - Method in class com.codingame.gameengine.module.entities.SpriteAnimation
Sets the duration of the animation in milliseconds.
setFailed(boolean) - Method in class com.codingame.gameengine.runner.JavaPlayerAgent
 
setFillAlpha(double) - Method in class com.codingame.gameengine.module.entities.Shape
Sets the alpha of the fill of this Shape as a percentage.
setFillAlpha(double, Curve) - Method in class com.codingame.gameengine.module.entities.Shape
Sets the alpha of the fill of this Shape as a percentage.
setFillColor(int) - Method in class com.codingame.gameengine.module.entities.Shape
Sets the color of the fill of this Shape as an RGB integer.
setFillColor(int) - Method in class com.codingame.gameengine.module.entities.Text
Sets the color of the fill of this Text as an RGB integer.
setFillColor(int, Curve) - Method in class com.codingame.gameengine.module.entities.Shape
Sets the color of the fill of this Shape as an RGB integer.
setFillColor(int, Curve) - Method in class com.codingame.gameengine.module.entities.Text
Sets the color of the fill of this Text as an RGB integer.
setFirstTurnMaxTime(int) - Method in class com.codingame.gameengine.core.GameManager
Set the timeout delay of the first turn for every player.
setFont(String) - Method in class com.codingame.gameengine.module.entities.BitmapText
Sets the name of the font of this BitmapText.
setFontFamily(String) - Method in class com.codingame.gameengine.module.entities.Text
Sets the name of the font of this Text.
setFontSize(int) - Method in class com.codingame.gameengine.module.entities.TextBasedEntity
Sets the size of the font of this TextBasedEntity in px.
setFontSize(int, Curve) - Method in class com.codingame.gameengine.module.entities.TextBasedEntity
Sets the size of the font of this TextBasedEntity in px.
setFontWeight(Text.FontWeight) - Method in class com.codingame.gameengine.module.entities.Text
Sets the weight of the font of this Text.
setFrameDuration(int) - Method in class com.codingame.gameengine.core.GameManager
Specifies the frameDuration in milliseconds.
setGameParameters(Properties) - Method in class com.codingame.gameengine.runner.MultiplayerGameRunner
The game parameters are used to pass additional information to the Game Manager.
setHeight(int) - Method in class com.codingame.gameengine.module.entities.Rectangle
Sets the height of this Rectangle in world units.
setHeight(int) - Method in class com.codingame.gameengine.module.entities.RoundedRectangle
Sets the height of this RoundedRectangle in world units.
setHeight(int) - Method in class com.codingame.gameengine.module.entities.SpriteSheetSplitter
Sets the height of the subimages to extract Defaults to full height of spritesheet if not set
setHeight(int, Curve) - Method in class com.codingame.gameengine.module.entities.Rectangle
Sets the height of this Rectangle in world units.
setHeight(int, Curve) - Method in class com.codingame.gameengine.module.entities.RoundedRectangle
Sets the height of this RoundedRectangle in world units.
setImage(String) - Method in class com.codingame.gameengine.module.entities.SpriteBasedEntity
Sets the image for this Sprite.
setImageCount(int) - Method in class com.codingame.gameengine.module.entities.SpriteSheetSplitter
Sets the number of subimages to be extracted
setImages(String...) - Method in class com.codingame.gameengine.module.entities.SpriteAnimation
Sets the sequence of images for this animation.
setImagesPerRow(int) - Method in class com.codingame.gameengine.module.entities.SpriteSheetSplitter
Sets the number of subimages to extract per row before advancing to the origColth column of the next row.
setLeagueLevel(int) - Method in class com.codingame.gameengine.runner.MultiplayerGameRunner
Sets the league level to run.
setLineAlpha(double) - Method in class com.codingame.gameengine.module.entities.Shape
Sets the alpha of the border of this Shape as a percentage.
setLineAlpha(double, Curve) - Method in class com.codingame.gameengine.module.entities.Shape
Sets the alpha of the border of this Shape as a percentage.
setLineColor(int) - Method in class com.codingame.gameengine.module.entities.Shape
Sets the color of the border of this Shape as an RGB integer.
setLineColor(int, Curve) - Method in class com.codingame.gameengine.module.entities.Shape
Sets the color of the border of this Shape as an RGB integer.
setLineWidth(double) - Method in class com.codingame.gameengine.module.entities.Shape
Sets the width of the border of this Shape in world units.
setLineWidth(double, Curve) - Method in class com.codingame.gameengine.module.entities.Shape
Sets the width of the border of this Shape in world units.
setLoop(boolean) - Method in class com.codingame.gameengine.module.entities.SpriteAnimation
Sets whether the animation loops.
setMask(Mask) - Method in class com.codingame.gameengine.module.entities.Entity
Sets a given Mask as this Entity's Mask.
setMask(SpriteAnimation) - Method in class com.codingame.gameengine.module.entities.Entity
Sets a given SpriteAnimation as this Entity's Mask.
setMaxTurns(int) - Method in class com.codingame.gameengine.core.GameManager
Set the maximum amount of turns.
setMaxWidth(int) - Method in class com.codingame.gameengine.module.entities.TextBasedEntity
Sets the maximum width of this TextBasedEntity in pixels before it gets ellipsed.
setName(String) - Method in class com.codingame.gameengine.module.entities.SpriteSheetSplitter
Sets the prefix of all subimage names.
setNickname(String) - Method in class com.codingame.gameengine.runner.JavaPlayerAgent
 
setOrigCol(int) - Method in class com.codingame.gameengine.module.entities.SpriteSheetSplitter
Sets the column of subimages from which subimages start being extracting
setOrigRow(int) - Method in class com.codingame.gameengine.module.entities.SpriteSheetSplitter
Sets the row of subimages from which subimages start being extracting
setPlaying(boolean) - Method in class com.codingame.gameengine.module.entities.SpriteAnimation
Plays or pause the animation.
setPointsInterpolationCurve(Curve) - Method in class com.codingame.gameengine.module.entities.Polygon
Sets the transition used to animate the positions of each point.
setRadius(int) - Method in class com.codingame.gameengine.module.entities.Circle
Sets the radius of this Circle in world units.
setRadius(int) - Method in class com.codingame.gameengine.module.entities.RoundedRectangle
Sets the radius of this RoundedRectangle's corners in world units.
setRadius(int, Curve) - Method in class com.codingame.gameengine.module.entities.Circle
Sets the radius of this Circle in world units.
setRadius(int, Curve) - Method in class com.codingame.gameengine.module.entities.RoundedRectangle
Sets the radius of this RoundedRectangle's corners in world units.
setRotation(double) - Method in class com.codingame.gameengine.module.entities.Entity
Sets the rotation of this Entity in radians.
setRotation(double, Curve) - Method in class com.codingame.gameengine.module.entities.Entity
Sets the rotation of this Entity in radians.
setScale(double) - Method in class com.codingame.gameengine.module.entities.Entity
Sets both the horizontal and vertical scale of this Entity to the same percentage.
setScale(double, Curve) - Method in class com.codingame.gameengine.module.entities.Entity
Sets both the horizontal and vertical scale of this Entity to the same percentage.
setScaleMode(ScaleMode) - Method in class com.codingame.gameengine.module.entities.SpriteBasedEntity
Sets the scale mode of this TextureBasedEntity.
setScaleX(double) - Method in class com.codingame.gameengine.module.entities.Entity
Sets the horizontal scale of this Entity as a percentage.
setScaleX(double, Curve) - Method in class com.codingame.gameengine.module.entities.Entity
Sets the horizontal scale of this Entity as a percentage.
setScaleY(double) - Method in class com.codingame.gameengine.module.entities.Entity
Sets the vertical scale of this Entity as a percentage.
setScaleY(double, Curve) - Method in class com.codingame.gameengine.module.entities.Entity
Sets the vertical scale of this Entity as a percentage.
setScore(int) - Method in class com.codingame.gameengine.core.AbstractMultiplayerPlayer
Set current score.
setScores(int[]) - Method in class com.codingame.gameengine.module.endscreen.EndScreenModule
Send scores to the module
setScores(int[], String[]) - Method in class com.codingame.gameengine.module.endscreen.EndScreenModule
Send scores to the module
setSeed(Long) - Method in class com.codingame.gameengine.runner.MultiplayerGameRunner
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.
The seed will be sent to the GameManager.
setSkewX(double) - Method in class com.codingame.gameengine.module.entities.Entity
Sets the horizontal skew of this Entity in radians.
setSkewX(double, Curve) - Method in class com.codingame.gameengine.module.entities.Entity
Sets the horizontal skew of this Entity in radians.
setSkewY(double) - Method in class com.codingame.gameengine.module.entities.Entity
Sets the vertical skew of this Entity in radians.
setSkewY(double, Curve) - Method in class com.codingame.gameengine.module.entities.Entity
Sets the vertical skew of this Entity in radians.
setSourceImage(String) - Method in class com.codingame.gameengine.module.entities.SpriteSheetSplitter
Sets the image from which to extract subimages
setStrokeColor(int) - Method in class com.codingame.gameengine.module.entities.Text
Sets the color of the stroke of this Text as an RGB integer.
setStrokeColor(int, Curve) - Method in class com.codingame.gameengine.module.entities.Text
Sets the color of the stroke of this Text as an RGB integer.
setStrokeThickness(double) - Method in class com.codingame.gameengine.module.entities.Text
Returns the thickness of the stroke of this Text in pixels.
setStrokeThickness(double, Curve) - Method in class com.codingame.gameengine.module.entities.Text
Returns the thickness of the stroke of this Text in pixels.
setTestCase(File) - Method in class com.codingame.gameengine.runner.SoloGameRunner
Sets a test case file which testIn value will be sent to the Game Manager as a test case input.
setTestCase(String) - Method in class com.codingame.gameengine.runner.SoloGameRunner
Sets a test case file by file path which testIn value will be sent to the Game Manager as a test case input.
setTestCaseInput(String) - Method in class com.codingame.gameengine.runner.SoloGameRunner
Sets a String as a test case input that will be sent to the Game Manager.
setTestCaseInput(List<String>) - Method in class com.codingame.gameengine.runner.SoloGameRunner
Sets a list of String as a test case input that will be sent to the Game Manager.
setText(String) - Method in class com.codingame.gameengine.module.entities.TextBasedEntity
Sets the string for this TextBasedEntity to display.
setTextAlign(TextBasedEntity.TextAlign) - Method in class com.codingame.gameengine.module.entities.TextBasedEntity
Sets the text alignment of this TextBasedEntity.
setTileScale(double) - Method in class com.codingame.gameengine.module.entities.TilingSprite
Sets both the horizontal and vertical scale of the image that is being tiled.
setTileScale(double, Curve) - Method in class com.codingame.gameengine.module.entities.TilingSprite
Sets both the horizontal and vertical scale of the image that is being tiled.
setTileScaleX(double) - Method in class com.codingame.gameengine.module.entities.TilingSprite
Sets the horizontal scale of the image that is being tiled.
setTileScaleX(double, Curve) - Method in class com.codingame.gameengine.module.entities.TilingSprite
Sets the horizontal scale of the image that is being tiled.
setTileScaleY(double) - Method in class com.codingame.gameengine.module.entities.TilingSprite
Sets the vertical scale of the image that is being tiled.
setTileScaleY(double, Curve) - Method in class com.codingame.gameengine.module.entities.TilingSprite
Sets the vertical scale of the image that is being tiled.
setTileX(int) - Method in class com.codingame.gameengine.module.entities.TilingSprite
Sets the X offset of the image that is being tiled.
setTileX(int, Curve) - Method in class com.codingame.gameengine.module.entities.TilingSprite
Sets the X offset of the image that is being tiled.
setTileY(int) - Method in class com.codingame.gameengine.module.entities.TilingSprite
Sets the Y offset of the image that is being tiled.
setTileY(int, Curve) - Method in class com.codingame.gameengine.module.entities.TilingSprite
Sets the Y offset of the image that is being tiled.
setTint(int) - Method in class com.codingame.gameengine.module.entities.TextureBasedEntity
Sets the tint of this TextureBasedEntity as an RGB integer.
setTint(int, Curve) - Method in class com.codingame.gameengine.module.entities.TextureBasedEntity
Sets the tint of this TextureBasedEntity as an RGB integer.
setTitleRankingsSprite(String) - Method in class com.codingame.gameengine.module.endscreen.EndScreenModule
Allows you to set the sprite used as the title of the ranking board
setTooltipText(Entity<?>, String) - Method in class com.codingame.gameengine.module.tooltip.TooltipModule
Sets a tooltip text linked to an entity
setTurnMaxTime(int) - Method in class com.codingame.gameengine.core.GameManager
Set the timeout delay for every player.
setViewData(Object) - Method in class com.codingame.gameengine.core.GameManager
Set data for use by the viewer, for the current frame.
setViewData(String, Object) - Method in class com.codingame.gameengine.core.GameManager
Set data for use by the viewer, for the current frame, for a specific module.
setViewGlobalData(String, Object) - Method in class com.codingame.gameengine.core.GameManager
Set data for use by the viewer and not related to a specific frame.
setVisible(boolean) - Method in class com.codingame.gameengine.module.entities.Entity
Flags this Entity to be drawn on screen or not.
setWidth(int) - Method in class com.codingame.gameengine.module.entities.Rectangle
Sets the width of this Rectangle in world units.
setWidth(int) - Method in class com.codingame.gameengine.module.entities.RoundedRectangle
Sets the width of this RoundedRectangle in world units.
setWidth(int) - Method in class com.codingame.gameengine.module.entities.SpriteSheetSplitter
Sets the width of the subimages to extract Defaults to full width of spritesheet if not set
setWidth(int, Curve) - Method in class com.codingame.gameengine.module.entities.Rectangle
Sets the width of this Rectangle in world units.
setWidth(int, Curve) - Method in class com.codingame.gameengine.module.entities.RoundedRectangle
Sets the width of this RoundedRectangle in world units.
setX(int) - Method in class com.codingame.gameengine.module.entities.Entity
Sets the X coordinate of this Entity in world units.
setX(int, Curve) - Method in class com.codingame.gameengine.module.entities.Entity
Sets the X coordinate of this Entity in world units.
setX2(int) - Method in class com.codingame.gameengine.module.entities.Line
Sets the X coordinate of the end point of this Line.
setX2(int, Curve) - Method in class com.codingame.gameengine.module.entities.Line
Sets the X coordinate of the end point of this Line.
setY(int) - Method in class com.codingame.gameengine.module.entities.Entity
Sets the Y coordinate of this Entity in world units.
setY(int, Curve) - Method in class com.codingame.gameengine.module.entities.Entity
Sets the Y coordinate of this Entity in world units.
setY2(int) - Method in class com.codingame.gameengine.module.entities.Line
Sets the y coordinate of the end point of this Line.
setY2(int, Curve) - Method in class com.codingame.gameengine.module.entities.Line
Sets the y coordinate of the end point of this Line.
setZIndex(int) - Method in class com.codingame.gameengine.module.entities.Entity
Sets the z-index of this Entity used to compute the display order for overlapping entities.
Shape<T extends BlendableEntity<?>> - Class in com.codingame.gameengine.module.entities
A Shape represents a graphical entity with a fill and a line, both of which have an alpha and color.
simulate() - Method in class com.codingame.gameengine.runner.SoloGameRunner
Runs the game without a server and returns computed game results
SoloGameManager<T extends AbstractSoloPlayer> - Class in com.codingame.gameengine.core
The AbstractMultiplayerPlayer takes care of running each turn of a multiplayer game and computing each visual frame of the replay.
SoloGameManager() - Constructor for class com.codingame.gameengine.core.SoloGameManager
 
SoloGameRunner - 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.
SoloGameRunner() - Constructor for class com.codingame.gameengine.runner.SoloGameRunner
Once this runner is instantiated, the system property game.mode is set to "solo"
sortingOrder - Variable in class com.codingame.gameengine.runner.dto.ConfigResponseDto
 
split() - Method in class com.codingame.gameengine.module.entities.SpriteSheetSplitter
Splits up a spritesheet (all fields are required except imagesPerRow).
Sprite - Class in com.codingame.gameengine.module.entities
A Sprite is a graphical entity which displays an image.
Sprite() - Constructor for class com.codingame.gameengine.module.entities.Sprite
 
SpriteAnimation - Class in com.codingame.gameengine.module.entities
A SpriteAnimation is a graphical entity which displays a sequence of images.
SpriteBasedEntity<T extends SpriteBasedEntity<?>> - Class in com.codingame.gameengine.module.entities
A Sprite is a graphical entity which displays an image.
SpriteBasedEntity() - Constructor for class com.codingame.gameengine.module.entities.SpriteBasedEntity
 
SpriteSheetSplitter - Class in com.codingame.gameengine.module.entities
Utility to load an image containing several subimages displayed in sequential rectangles.
SpriteSheetSplitter(GraphicEntityModule) - Constructor for class com.codingame.gameengine.module.entities.SpriteSheetSplitter
The constructor expected to be called by Guice.
start() - Method in class com.codingame.gameengine.runner.SoloGameRunner
Runs the game and attempts to start a server on the port 8888.
start(int) - Method in class com.codingame.gameengine.runner.SoloGameRunner
Runs the game and attempts to start a server on the given port.
start(InputStream, PrintStream) - Static method in class com.codingame.gameengine.core.RefereeMain
The local GameRunner will launch the referee using this method.
summaries - Variable in class com.codingame.gameengine.runner.dto.GameResultDto
 
summaries - Variable in class com.codingame.gameengine.runner.simulate.GameResult
The game summary output by the GameManager for each subframe.

T

text - Variable in class com.codingame.gameengine.module.entities.TextBasedEntity
 
text - Variable in class com.codingame.gameengine.runner.dto.TooltipDto
 
text - Variable in class com.codingame.gameengine.runner.simulate.TooltipData
The text contained in this progress bar tooltip.
Text - Class in com.codingame.gameengine.module.entities
Represents a label on screen.
Text.FontWeight - Enum Class in com.codingame.gameengine.module.entities
The list of supported font weights.
textAlign - Variable in class com.codingame.gameengine.module.entities.TextBasedEntity
 
TextBasedEntity<T extends TextureBasedEntity<?>> - Class in com.codingame.gameengine.module.entities
Generic type for entities containing text.
TextBasedEntity() - Constructor for class com.codingame.gameengine.module.entities.TextBasedEntity
 
TextBasedEntity.TextAlign - Enum Class in com.codingame.gameengine.module.entities
This is an enumeration that contains the three options for text alignment: left, center, and right.
TextureBasedEntity<T extends BlendableEntity<?>> - Class in com.codingame.gameengine.module.entities
Any PIXI Entity based on a texture shares the properties found in this TextureBasedEntity.
THRESHOLD_LIMIT_STDERR_SIZE - Static variable in class com.codingame.gameengine.runner.JavaPlayerAgent
 
TilingSprite - Class in com.codingame.gameengine.module.entities
A TilingSprite is a graphical entity which displays a tiling image.
TilingSprite() - Constructor for class com.codingame.gameengine.module.entities.TilingSprite
 
TimeoutException() - Constructor for exception com.codingame.gameengine.core.AbstractPlayer.TimeoutException
 
ToggleModule - Class in com.codingame.gameengine.module.toggle
 
Tooltip - Class in com.codingame.gameengine.core
The data for a tooltip which appears on the progress bar of the replay of a game to give information about significant game events.
Tooltip(int, String) - Constructor for class com.codingame.gameengine.core.Tooltip
Creates a tooltip which will appear on the replay of the current game.
TooltipData - Class in com.codingame.gameengine.runner.simulate
A data class for tooltips displayed on the progress bar of the viewer.
TooltipData(String, int, int) - Constructor for class com.codingame.gameengine.runner.simulate.TooltipData
These tooltips would be displayed on the progress bar of the viewer.
TooltipDto - Class in com.codingame.gameengine.runner.dto
A data transfer object for tooltips displayed on the progress bar of the viewer.
TooltipDto(String, int, int) - Constructor for class com.codingame.gameengine.runner.dto.TooltipDto
 
TooltipModule - Class in com.codingame.gameengine.module.tooltip
The TooltipModule takes care of displaying tooltips under the mouse cursor when an element has a linked tooltip text.
tooltips - Variable in class com.codingame.gameengine.runner.dto.GameResultDto
 
tooltips - Variable in class com.codingame.gameengine.runner.simulate.GameResult
The list of tooltips generated during this game launch.
toString() - Method in enum class com.codingame.gameengine.module.entities.Text.FontWeight
 
turn - Variable in class com.codingame.gameengine.runner.dto.TooltipDto
 
turn - Variable in class com.codingame.gameengine.runner.simulate.TooltipData
The viewer frame on which the tooltip will be visible.
type - Variable in class com.codingame.gameengine.runner.dto.ConfigResponseDto
 

U

uinput - Variable in class com.codingame.gameengine.runner.dto.GameResultDto
 
UTF8 - Static variable in class com.codingame.gameengine.runner.JavaPlayerAgent
 

V

valueOf(String) - Static method in enum class com.codingame.gameengine.module.entities.BlendableEntity.BlendMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.codingame.gameengine.module.entities.Curve
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.codingame.gameengine.module.entities.ScaleMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.codingame.gameengine.module.entities.Text.FontWeight
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.codingame.gameengine.module.entities.TextBasedEntity.TextAlign
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.codingame.gameengine.module.entities.BlendableEntity.BlendMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.codingame.gameengine.module.entities.Curve
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.codingame.gameengine.module.entities.ScaleMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.codingame.gameengine.module.entities.Text.FontWeight
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.codingame.gameengine.module.entities.TextBasedEntity.TextAlign
Returns an array containing the constants of this enum class, in the order they are declared.
ViewportModule - Class in com.codingame.gameengine.module.viewport
The ViewportModule allows you to create a zoomable/draggable container.
views - Variable in class com.codingame.gameengine.runner.dto.GameResultDto
 
views - Variable in class com.codingame.gameengine.runner.simulate.GameResult
The view output from modules for each subframe.

W

winGame() - Method in class com.codingame.gameengine.core.SoloGameManager
Ends the game as a victory
winGame(String) - Method in class com.codingame.gameengine.core.SoloGameManager
Ends the game as a victory with a green message.
World - Class in com.codingame.gameengine.module.entities
The World represents a coordinate mapping from the positions of entities to the pixels on screen.
A B C D E F G I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form