Enum Class ItemType

java.lang.Object
java.lang.Enum<ItemType>
com.csse3200.game.components.items.ItemType
All Implemented Interfaces:
Serializable, Comparable<ItemType>, Constable

public enum ItemType extends Enum<ItemType>
  • Enum Constant Details

    • FISH

      public static final ItemType FISH
    • APPLE

      public static final ItemType APPLE
    • BANANA

      public static final ItemType BANANA
    • BEEF

      public static final ItemType BEEF
    • ACAI

      public static final ItemType ACAI
    • LETTUCE

      public static final ItemType LETTUCE
    • CUCUMBER

      public static final ItemType CUCUMBER
    • TOMATO

      public static final ItemType TOMATO
    • STRAWBERRY

      public static final ItemType STRAWBERRY
    • CHOCOLATE

      public static final ItemType CHOCOLATE
    • FRUITSALAD

      public static final ItemType FRUITSALAD
    • ACAIBOWL

      public static final ItemType ACAIBOWL
    • SALAD

      public static final ItemType SALAD
    • STEAKMEAL

      public static final ItemType STEAKMEAL
    • BANANASPLIT

      public static final ItemType BANANASPLIT
    • FIREEXTINGUISHER

      public static final ItemType FIREEXTINGUISHER
    • PLATE

      public static final ItemType PLATE
    • MEAL

      public static final ItemType MEAL
  • Method Details

    • values

      public static ItemType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ItemType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null