ScoreLook beta
Interface of @v12-engine/client
export interface ScoreLookHow the game shows its score (GameView.hud.score, client.score.look). What is counted, and who is told it, is the rules' (RuleSettings.score); this is how the screen puts it. The client's score screen is the HUD's part score (hide it, or put a game's own in its place): opened from the end of the game, the pause menu, or in code
Members
atEnd
atEnd?: 'button' | 'open' | 'none';What the screen at the end of a game does with the score: a button to open it (when left out), open it at once, or none
format
format?: (stat: ScoreStatDef, value: number) => string | undefined;How a number reads, in the place of the stat's format: undefined leaves it to the client
graph
graph?: string[];The stats the graph offers, in order: those on the timeline when left out
hide
hide?: string[];The tabs left out, by category id (combat), or graph
labels
labels?: Record<string, string>;Words in the place of a stat's label, by its id
menu
menu?: boolean;Whether the pause menu has a line that shows the score (Score): yes when left out