// containsAnyAsset.js
(function () {
/*global adventurejs A*/
var p = adventurejs.Tangible.prototype;
/**
* Check whether this asset contains any assets in any aspects.
* @memberOf adventurejs.Tangible
* @method adventurejs.Tangible#containsAnyAsset
* @returns {Boolean}
*/
p.containsAnyAsset = function Tangible_containsAnyAsset() {
for (var prop in this.aspects) {
if (this.aspects[prop].contents.length > 0) {
return true;
}
}
return false;
}; // containsAnyAsset.js
})();