Pre-release
Adventure.js Docs Downloads
Score: 0 Moves: 0
// getRoomAsset.js
(function() {
	/*global adventurejs A*/ 
  "use strict";
  var p = adventurejs.Tangible.prototype;	
  /**
   * Get the asset of the room this asset is in.
   * @memberOf adventurejs.Tangible
	 * @method adventurejs.Tangible#getRoomAsset
   * @returns {String}
   */
  p.getRoomAsset = p.$room = function Tangible_getRoomAsset() 
  {
    return this.game.getAsset( this.getRoomId() );
  }
}());