import type { Choice } from "../../../nlcore/elements/menu"; import type { GameState } from "../../gameState"; import { Sentence } from "../../../nlcore/elements/character/sentence"; import { Word } from "../../../nlcore/elements/character/word"; import { Pausing } from "../../../nlcore/elements/character/pause"; import { Chosen } from "../../type"; export interface MenuElementProps { prompt: Sentence | null; choices: Choice[]; afterChoose: (choice: Chosen) => void; state: GameState; words: Word[] | null; } export interface IUserMenuProps { items: number[]; } export type ChoiceEvaluated = Choice & { words: Word[]; };