npc-relations
Version:
Library with classes to represent simple relations between NPCs.
13 lines • 439 B
TypeScript
import { Relation } from "./relations";
export declare class RelationSet {
private _relations;
constructor();
add(npcName: string, relation: Relation): void;
append(npcName: string, relation: Relation): RelationSet;
get knowns(): string[];
knows(npcName: string): boolean;
get(npcName: string): Relation;
normalizeAll(): void;
copy(): RelationSet;
}
//# sourceMappingURL=collections.d.ts.map