ChoiceProps beta
Interface of @v12-engine/client
ts
export interface ChoicePropsWhat a menu of a game's own is given (ChoiceLook.component, mount): the client, the choice, and the way to pick
Members
client
ts
client: HudClient;The HUD's client, for reading the game
menu
ts
menu: ChoiceMenu;The choice being asked
pick
ts
pick: (id: string) => void;Picks an answer by its id, ending the choice