agents-flow
Version:
Framework for multi-agent interactive fiction videogame.
33 lines • 1.14 kB
TypeScript
import { IInteraction } from "./interfaces";
import { TruthTable } from "first-order-logic";
import { Roles } from "./roles";
import { MapStructure, Location } from "./location";
import { Step } from "./step";
import { Input } from "./input";
export declare class OnGoingInteraction {
private _deliverer;
private _effect;
private _performerRole;
private _targetRole;
private _actualPhrase;
private _onGoingPostconditions;
private _roles;
private _map;
private _table;
private _interaction;
constructor(interaction: IInteraction, roles: Roles, map: MapStructure, table: TruthTable);
get interaction(): IInteraction;
get roles(): Roles;
get map(): MapStructure;
get isInteractionEnded(): boolean;
get location(): Location;
get postconditions(): TruthTable;
performStep(input: Input): Step;
private initializeDeliverer;
private forcePhraseRelations;
private executePhraseAction;
private calculateAgentsReactions;
equals(other: OnGoingInteraction): boolean;
toString(): string;
}
//# sourceMappingURL=ongoing.d.ts.map