MenuComponent
interface MenuElementProps {
prompt: Sentence;
choices: Choice[];
afterChoose: (choice: Choice) => void;
state: GameState;
}
type MenuComponent = Components<MenuElementProps>;
For Components, see Components
interface MenuElementProps {
prompt: Sentence;
choices: Choice[];
afterChoose: (choice: Choice) => void;
state: GameState;
}
type MenuComponent = Components<MenuElementProps>;
For Components, see Components