// Coin.js
(function () {
/* global AdventureJS A */
/**
* @ajspath AdventureJS.Atom.Asset.Matter.Tangible.Thing.Coin
* @augments AdventureJS.Assets.Thing
* @class AdventureJS.Assets.Coin
* @ajsconstruct MyGame.createAsset({ "class":"Coin", "name":"foo", [...] })
* @ajsconstructedby AdventureJS.Game#createAsset
* @ajsnavheading FoodDrinkClasses
* @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 Trick or treat, give me something good to eat.
* @classdesc
* <p>
* <strong>Coin</strong> has no special properties.
* </p>
**/
class Coin extends AdventureJS.Assets.Thing {
constructor(name, game_name, context_id = "", id = "") {
super(name, game_name, context_id, id);
this.class = "Coin";
this.setDOVs(["get", "take", "give", "put"]);
}
}
AdventureJS.Assets.Coin = Coin;
})();