DebugChoice beta
Interface of @v12-engine/client
ts
export interface DebugChoiceOne of a few, picked from a list in the debug panel: the formation of the player's orders, a scene's own
Members
get
ts
get(): string;Reads the value of the option picked now
id
ts
id: string;Unique id of the choice
label
ts
label: string;Its label in the panel
options
ts
options: {
value: string;
label: string;
}[];What can be picked: each option's value and the words shown for it
set
ts
set(value: string): void;Sets the option picked, by its value