Pre-release
AdventureJS Docs Downloads
Score: 0 Moves: 0
// $is.js
(function () {
  /*global adventurejs A*/
  var p = adventurejs.Asset.prototype;

  /**
   * <strong>$is()</strong> is a generalized method for
   * getting various asset states, usually stored in the
   * <code><a href="#property_is">asset.is</a></code>
   * nested object. It can also test
   * for more complex circumstances, such as in the case of
   * Tangibles. For example, if your game has a sword in a stone,
   * you can test whether the sword is currently in the stone with
   * <code>MyGame.$("sword").is("in", "stone")</code>
   * @method adventurejs.Asset#$is
   * @memberOf adventurejs.Asset
   */
  p.$is = function Asset_$is(property, asset) {};
})();