UNPKG

@robingamedev/visual-novel-dialogue

Version:

A minimal, JSON-driven dialogue plugin for Phaser 3 games with support for branching choices, typewriter effects, and simple inline formatting.

9 lines 361 B
import { Scene, GameObjects } from 'phaser'; export declare class ChoiceBox extends GameObjects.Container { private buttons; private callback; constructor(scene: Scene, choices: Record<string, string>, onSelect: (choiceKey: string) => void); private handleSelect; destroy(fromScene?: boolean): void; } //# sourceMappingURL=ChoiceBox.d.ts.map