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

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

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

    class: "Exit",

    descriptions: { look: "There's no way in." },
  });
})();