Package com.codingame.gameengine.core
Class Tooltip
java.lang.Object
com.codingame.gameengine.core.Tooltip
The data for a tooltip which appears on the progress bar of the replay of a game to give information about significant game events. You may create
several tooltips for the same turn.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Tooltip
Creates a tooltip which will appear on the replay of the current game. The tooltip will have the same color as one of the players.The message to display is typically no longer than 30 characters.
- Parameters:
player
- the index of the player the tooltip information is about.message
- the message to display in the tooltip.
-