Pre-release
Adventure.js Docs Downloads
Score: 0 Moves: 0
// GlobalFloor.js
(function () {
  /*global adventurejs A*/
  "use strict";

  var p = adventurejs.Game.prototype;

  /**
   * @augments {adventurejs.Floor}
   * @class global_floor
   * @ajsconstruct MyGame.createGlobalFloors({ "name": "global_floor", [...] });
   * @ajsconstructedby adventurejs.Game#createGlobalFloors
   * @hideconstructor
   * @ajsinstanceof floor
   * @ajsmodifiedby adventurejs.Game#setGlobalDescriptions
   * @ajsnavheading GlobalAssets
   * @ajsnode game.world.global_floor
   * @summary Summary of the floor.
   * @ajsglobal GlobalFloor
   * @classdesc Description of the floor.
   */
  A.GlobalAssets.Floors.push({
    name: "floor",
    descriptions: { look: "$(We) see nothing special about the floor. " },
  });
})();