Class Foods.CottonCloud
java.lang.Object
com.csse3200.game.inventory.items.AbstractItem
com.csse3200.game.inventory.items.ConsumableItem
com.csse3200.game.inventory.items.food.AbstractFood
com.csse3200.game.inventory.items.food.Foods.CottonCloud
- Enclosing class:
Foods
CottonCloud class manages the cloud cookies fields inherited from AbstractFood
-
Field Summary
Fields inherited from class com.csse3200.game.inventory.items.AbstractItem
description, itemCode, limit, name, onlyCombatItem, onlyMapItem, quantity
-
Constructor Summary
ConstructorsConstructorDescriptionCottonCloud
(int quantity) Constructs a Sushi class with while assigning fields with set values. -
Method Summary
Methods inherited from class com.csse3200.game.inventory.items.food.AbstractFood
useItem
Methods inherited from class com.csse3200.game.inventory.items.AbstractItem
add, getDescription, getItemCode, getLimit, getName, getQuantity, getTexturePath, isEmpty, numAddable, onlyCombatItem, onlyMapItem, setDescription, setTexturePath
-
Constructor Details
-
CottonCloud
public CottonCloud(int quantity) Constructs a Sushi class with while assigning fields with set values.
-