Class TooltipData
java.lang.Object
com.codingame.gameengine.runner.simulate.TooltipData
A data class for tooltips displayed on the progress bar of the viewer.
Used to show important events during a game such as point scoring.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTooltipData
(String text, int eventId, int turn) These tooltips would be displayed on the progress bar of the viewer. -
Method Summary
-
Field Details
-
turn
public int turnThe viewer frame on which the tooltip will be visible. -
text
The text contained in this progress bar tooltip. -
event
Equal to the id of on of the agents, changes the tooltips colours to the colour of that player.
-
-
Constructor Details
-
TooltipData
These tooltips would be displayed on the progress bar of the viewer.- Parameters:
text
- the text displayed in the tooltip. Should be shorteventId
- equal to the id of on of the agents, changes the tooltips colours to the colour of that playerturn
- the viewer frame on which the tooltip will be visible
-