Food Items - UQcsse3200/2024-studio-2 GitHub Wiki

Food items are the subclass of Consumable Items. Food items represent the items consumed to resolve the hunger levels of the animals.

  • Different foods will vary and increase hunger levels e.g. apples will increase hunger by 1, biscuits will increase by 5.

  • Additional functionality to useitem function is that it will apply the effects of the food for every call of the function while obtaining the original functionality.

The food items that will be created from this class are:

  • Apples
  • Berries
  • Broccoli
  • Meat (Steak Slice)
  • Chicken drumstick
  • Sushi
  • Milk Bucket