Skip to content

RaceLook beta ​

Interface of @v12-engine/client

ts
export interface RaceLook

How a race looks to the player who plays it (GameView.races): nothing of it reaches the simulation

Members ​

icon ​

ts
icon?: string;

Its picture, by an icon's name or a URL: for a part of the game's that shows the race played (client.raceLook)

messages ​

ts
messages?: Record<string, MessageWords>;

Words of its own, over the game's (ViewHud.messages) for a player of the race: what builds its supply

music ​

ts
music?: string[];

The music while the player plays it, tracks in turn, in place of the game's (a map's own goes over it)

theme ​

ts
theme?: ThemeSpec;

The HUD's theme while the player plays it: one by name (registerTheme), or values over the game's (ThemeSpec)