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

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

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

    descriptions: {
      look: "There doesn't appear to be anything to enter here.",
    },
  });
})();