Pre-release
AdventureJS Docs Downloads
Score: 0 Moves: 0
// printCurrentRoomExits.js

(function () {
  /*global adventurejs A*/

  var p = adventurejs.Game.prototype;

  /**
   *
   * @method adventurejs.Game#printCurrentRoomExits
   * @memberOf adventurejs.Game
   */
  p.printCurrentRoomExits = p.$printExits =
    function Game_printCurrentRoomExits() {
      var exits = this.getCurrentRoomExits();
      if (exits) this.print(exits);
      return true;
    };
})();