package scalevalapokalypsi.Model import scala.annotation.targetName /** The class `Item` represents items in a text adventure game. Each item has a * name and a longer description. (In later versions of the adventure game, * items may have other features as well.) * * @param name the item’s name * @param description the item’s description */ class Item(val name: String, val description: String, val weight: Int): /** Returns a short textual representation of the item (its name, that is). */ override def toString = this.name end Item