Choice beta
Function of @v12-engine/client/hud
ts
export declare function Choice(props: {
client: HudClient;
}): import("solid-js").JSX.Element;The choice a cinematic asks (cinematic plan C3): its question and its answers, each with its key (1, 2, 3...), a bar of the time left where it waits only so long. A click on an answer picks it, as its key does (the cinematic hears the keys). Four ways: the look declared (GameView.cinematics.choice: where, how wide), a menu of the game's own as a component or an element (ChoiceLook.component, mount), or the whole part drawn by the game (hud.widgets: [{ id: 'choice', component }])