@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.
16 lines (13 loc) • 528 B
TypeScript
import ActivityInterface from '../interface/ActivityInterface.js';
import '@drincs/nqtr';
declare const registeredActivities: {
[id: string]: ActivityInterface;
};
declare function saveActivity(activities: ActivityInterface | ActivityInterface[]): void;
/**
* Get an activity by its id.
* @param id The id of the activity.
* @returns The activity or undefined if not found.
*/
declare function getActivityById(id: string): ActivityInterface | undefined;
export { getActivityById, registeredActivities, saveActivity };