Pre-release
AdventureJS Docs Downloads
Score: 0 Moves: 0
// Character_Must.js
(function () {
  /* global AdventureJS A */

  /**
   * @ajspath AdventureJS.Atom.TraitManager.Asset_Must.Tangible_Must.Character_Must
   * @augments AdventureJS.AssetTraits.Character_Must
   * @class AdventureJS.AssetTraits.Character_Must
   * @ajsnavheading TraitClasses
   * @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>Character_Must</strong> is a state management class
   * used to store a variety of booleans for
   * {@link AdventureJS.Assets.Character|Character Assets}.
   **/

  class Character_Must extends AdventureJS.AssetTraits.Tangible_Must {
    constructor(name = "must", game_name, context_id) {
      // Call the constructor of the super class
      super(name, game_name, context_id);
      this.class = "Character_Must";

      return this;
    }
  }
  AdventureJS.AssetTraits.Character_Must = Character_Must;
})();