Files
muuhd/server/models/portal.js
Kim Ravn Hansen 0acd46fb6b fjas
2025-09-04 16:54:03 +02:00

28 lines
559 B
JavaScript

/**
* Connects two location ONE WAY.
*
* Example: two adjacent rooms connected by a door:
* Room A has a portal to Room B, and
* Room B has a portal to Room A.
*
* @todo Add encounters to portals
*/
export class Portal {
/**
* Target Location.
*/
_targetLocationId;
/**
* Description shown to the player when they inspect the portal from the source location.
*/
_description;
/**
* Description shown to the player when they traverse the portal.
*/
_traversalDescription;
}