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

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

	var p = adventurejs.Game.prototype;

  /**
   * Convenience method to get this turn's input. 
   * @method adventurejs.Game#getInput
   * @memberOf adventurejs.Game
   * @returns {Object}
   */
   p.getInput = p._input = function Game_getInput() 
  {
    return this.parser.input_history[ 0 ];
	}
	
}());