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

  /**
   * @ajspath adventurejs.Atom.StateManager.Asset_Can
   * @augments adventurejs.StateManager
   * @class adventurejs.Asset_Can
   * @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
   * <p>
   * <strong>Asset_Can</strong> is a state management class for all {@link adventurejs.Asset|Assets}.
   * used to store a variety of booleans.
   **/

  class Asset_Can 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_Can";

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