// Cherries.js
(function () {
/* global adventurejs A */
/**
* @ajspath adventurejs.Atom.Asset.Matter.Tangible.Thing.Edible.Cherries
* @augments adventurejs.Edible
* @class adventurejs.Cherries
* @ajsconstruct MyGame.createAsset({ "class":"Cherries", "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 Some cherries.
* @classdesc
* <strong>Cherries</strong> is an edible item that can be destroyed on eating.
**/
class Cherries extends adventurejs.Edible {
constructor(name, game_name) {
super(name, game_name);
this.class = "Cherries";
// this.setDOV({ eat: { then_destroy: "eat cherries" } });
}
}
adventurejs.Cherries = Cherries;
})();