Pre-release
Adventure.js Docs Downloads
Score: 0 Moves: 0
// Asset_Must.js
(function () {
  /*global adventurejs A*/
  "use strict";

  /**
   * @ajspath adventurejs.Atom.StateManager.Asset_Must
   * @augments adventurejs.StateManager
   * @class adventurejs.Asset_Must
   * @ajsnavheading StateClasses
   * @param {String} game_name Name of top level game instance that is scoped to window.
   * @param {String} name Instance name.
   * @summary A container for state variables.
   * @classdesc
   * <strong>Asset_Must</strong> is a state management class
   * used to store a variety of booleans for
   * {@link adventurejs.Asset|Assets}.
   **/

  class Asset_Must extends adventurejs.StateManager {
    constructor(name = "can", game_name, parent_id) {
      // Call the constructor of the parent class
      super(name, game_name, parent_id);

      this.class = "Asset_Must";

      return this;
    }
  }
  adventurejs.Asset_Must = Asset_Must;
})();