
/**
 * This represents 1 possible item.
 *
 * Items must have a name and value.
 * They are based off Minecraft and the currency used are emeralds.
 * 
 * CHG Note: Please note the documentation of this object. This is important for a Merit+
 */
public class Item
{
    private String name;
    private int value;

    /**
     * Constructor for objects of class Item. 
     */
    public Item(String name, int value)
    {
        this.name = name;
        this.value = value;
    }

    /**
     * Returns the name of the item
     *
     * @return    the item's name as a string
     */
    public String getName()
    {
        return this.name;
    }
    
    /**
     * Returns the value of the item
     *
     * @return    the item's value
     */
    public int getValue()
    {
        return this.value;
    }
}
