// getCurrentRoom.js
(function() {
/*global adventurejs A*/
"use strict";
var p = adventurejs.Game.prototype;
/**
* Convenience method to get the current room asset.
* @method adventurejs.Game#getCurrentRoom
* @memberOf adventurejs.Game
* @returns {Object}
*/
p.getCurrentRoom = p.$room = function Game_getCurrentRoom()
{
return this.getAsset( this.world._currentRoom );
}
}());