Sushi - UQcsse3200/2024-studio-2 GitHub Wiki
Usage
Sushi is a subclass of the Food class. This item provides values for the quantity, limit, texture, name, effect, and item code of this specific item.
Expected Behaviour
The item should be able to increase the player's hunger stat by 17 and should be deleted from inventory after 1 uses
Creating item
public Sushi(int quantity) {
super("Caviar", 17, 1, quantity, 40);
this.setTexturePath(PATH);
this.setDescription("This is Sushi");
}