// Scrunchy.js
(function () {
/*global adventurejs A*/
"use strict";
/**
* @ajspath adventurejs.Atom.Asset.Matter.Tangible.Thing.Clothing.Scrunchy
* @augments adventurejs.Clothing
* @class adventurejs.Scrunchy
* @ajsconstruct MyGame.createAsset({ "class":"Scrunchy", "name":"foo", [...] })
* @ajsconstructedby adventurejs.Game#createAsset
* @ajsnavheading ClothingClasses
* @param {String} game_name The name of the top level game object.
* @param {String} name A name for the object, to be serialized and used as ID.
* @summary Bringing back the man bun.
* @classdesc
* <p>
* <strong>Scrunchy</strong> is a subclass of
* {@link adventurejs.Clothing|Clothing}, meaning it can be worn.
* </p>
**/
class Scrunchy extends adventurejs.Clothing {
constructor(name, game_name) {
super(name, game_name);
this.class = "Scrunchy";
}
}
adventurejs.Scrunchy = Scrunchy;
})();