// getContentsAt.js
(function() {
/*global adventurejs A*/
"use strict";
var p = adventurejs.Tangible.prototype;
/**
* Returns an array of all content in the specified aspect.
* @memberOf adventurejs.Tangible
* @method adventurejs.Tangible#getContentsAt
* @return {Array}
*/
p.getContentsAt = function Tangible_getContentsAt(aspect)
{
if(!this.hasAspectAt(aspect) ) return [];
return this.getAspectAt(aspect).contents;
}
}());