@drincs/nqtr
Version:
A complete system introducing the concepts of location, time and event, producing the framework of a not-quite-point-and-click adventure game.
32 lines (29 loc) • 1.35 kB
text/typescript
import { CharacterInterface } from '@drincs/pixi-vn';
import { C as CommitmentInterface, a as CommitmentBaseInternalInterface, R as RoomInterface } from '../RoomInterface-DURfkQ7u.mjs';
import ExecutionType from '../types/ExecutionType.mjs';
import { OnRunEvent } from '../types/OnRunEvent.mjs';
import ActivityStoredClass from './ActivityStoredClass.mjs';
import '@drincs/nqtr';
import '../interface/ActivityInterface.mjs';
import '../interface/navigation/NavigationAbstractClass.mjs';
declare class CommitmentStoredClass extends ActivityStoredClass<CommitmentInterface> implements CommitmentBaseInternalInterface {
private readonly _characters;
private readonly _room;
constructor(id: string, _characters: CharacterInterface[], _room: RoomInterface, onRun: OnRunEvent<CommitmentInterface> | undefined, props: {
executionType?: ExecutionType;
priority?: number;
fromHour?: number;
toHour?: number;
fromDay?: number;
toDay?: number;
});
private readonly defaultExecutionType;
private readonly defaultPriority?;
get characters(): CharacterInterface[];
get room(): RoomInterface;
get executionType(): ExecutionType;
set executionType(value: ExecutionType);
get priority(): number;
set priority(value: number);
}
export { CommitmentStoredClass as default };