UNPKG

@drincs/pixi-vn

Version:

Pixi'VN is a npm package that provides various features for creating visual novels.

32 lines (29 loc) 814 B
import { StorageElementType } from '../types/StorageElementType.cjs'; import HistoryChoiceMenuOption from '../types/HistoryChoiceMenuOption.cjs'; import Dialogue from '../classes/Dialogue.cjs'; import '../types/CloseType.cjs'; import '../types/LabelRunModeType.cjs'; import './CharacterInterface.cjs'; interface NarrativeHistory { /** * Dialogue to be shown in the game */ dialoge?: Dialogue; /** * List of choices asked of the player */ choices?: HistoryChoiceMenuOption[]; /** * The player made a choice */ playerMadeChoice?: boolean; /** * The index of the step in the history. */ stepIndex: number; /** * The input value of the player */ inputValue?: StorageElementType; } export type { NarrativeHistory as default };