import Score from './Score'; /** * A character in a game set. */ export default interface Character { /** * The identifier of the set this character belongs to. */ readonly roundSet: number; /** * The identifier of the player, or negative for non player character. */ readonly player: number; /** * The generation of the player, i.e. The round at end of which the player will die. */ readonly generation?: number; /** * The detailed score of the player per round. There may not be score for all rounds. */ readonly score: ReadonlyArray; /** * The total score of the player. This score contains the points in low money count during the game, and in low value * count when game is finished. A division may happen at the end of the game, but the score will not be visible to end * user until the end of the game, so the user will always see the score in low value. */ readonly totalScore: number; }