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

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

	var p = adventurejs.Game.prototype;

  /**
   * Convenience method to get the player asset. 
   * @method adventurejs.Game#getPlayer
   * @memberOf adventurejs.Game
   * @returns {Object}
   */
   p.getPlayer = p.$player = function Game_getPlayer() 
  {
    return this.getAsset( this.world._player );
	}
	
}());