UNPKG

@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) 529 B
import ActivityInterface from '../interface/ActivityInterface.mjs'; 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 };