UNPKG

agents-flow

Version:

Framework for multi-agent interactive fiction videogame.

25 lines 736 B
import { Agent } from "./agent"; export declare class RolesDescriptor { private _main; private _secondarys; constructor(main: string, secondarys?: string[]); get main(): string; get secondarys(): string[]; get all(): string[]; } export declare class Roles { private _roles; constructor(); get roleNames(): string[]; get agents(): Agent[]; match(role: string, agent: Agent): Roles; get(role: string): Agent; has(role: string): boolean; matched(agent: Agent): boolean; assignRoles(input: string): string; equals(other: Roles): boolean; toString(): string; private validateRole; private validateAgent; } //# sourceMappingURL=roles.d.ts.map