Pre-release
Adventure.js Docs Downloads
Score: 0 Moves: 0
// GlobalExitExit.js

(function () {
  /*global adventurejs A*/
  "use strict";

  /**
   * @augments {adventurejs.Exit}
   * @class global_exit
   * @ajsconstruct MyGame.createGlobalExits({ "name": "global_exit", [...] });
   * @ajsconstructedby adventurejs.Game#createGlobalExits
   * @hideconstructor
   * @ajsinstanceof Exit
   * @ajsmodifiedby adventurejs.Game#setGlobalDescriptions
   * @ajsnavheading GlobalExits
   * @ajsnode game.world.global_exit
   * @tutorial NextSteps_GlobalScenery
   * @summary A global exit.
   * @ajsglobal GlobalExit
   */
  A.GlobalAssets.Exits.push({
    direction: "exit",

    descriptions: { look: "There doesn't appear to be an obvious main exit." },
  });
})();