UNPKG

agents-flow

Version:

Framework for multi-agent interactive fiction videogame.

26 lines 847 B
import { Reactions } from "npc-emotional"; export declare class Step { private _content; private _ender; private _choices; private _reactions; private constructor(); get content(): string[]; get isEnder(): boolean; get hasChoices(): boolean; get choices(): Choices; get reactions(): Reactions; get hasReactions(): boolean; append(text: string): Step; static fromContent(content: string, isEnder?: boolean): Step; static fromChoices(choices: string[], isEnder?: boolean): Step; static fromReactions(reactions: Reactions, isEnder?: boolean): Step; } export declare class Choices { private _items; constructor(items: string[]); get count(): number; get items(): string[]; isValidItem(index: number): boolean; } //# sourceMappingURL=step.d.ts.map