Class_Item - GensokyoGears/itemsets GitHub Wiki
Item.java
This class describes our Item object.
The object consists of following parameters:
- String name - name of the item
- String id - ID of the item
- String image - url to the image of the item
- String description - description of the item (with stats)
- String plaintext - short description of the item
- Integer count - number of times this item should be purchased
The class also contains basic constructor:
public Item(String name, String id, String image, String description, String plaintext, Integer count)
{ super();
this.name = name;
this.id = id;
this.image = image;
this.description = description;
this.plaintext = plaintext;
this.count = count; }
and getters and setters for all elements.