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

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

	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;
	}
  
}());