// setUsed.js
(function () {
/*global adventurejs A*/
"use strict";
var p = adventurejs.Tangible.prototype;
/**
* Set whether player has used this asset. Used chiefly for Exit class to say
* whether player has used an exit before. This figures into 'go to', which
* excludes exits a player has never used from its pathfinding algorithm.
* @memberOf adventurejs.Tangible
* @method adventurejs.Tangible#setUsed
* @param {Boolean} bool
*/
p.setUsed = p.$used = function Tangible_setUsed(bool = true) {
this.is.used = bool;
};
})();