Enum Class AchievementId

java.lang.Object
java.lang.Enum<AchievementId>
com.csse3200.game.achievements.AchievementId
All Implemented Interfaces:
Serializable, Comparable<AchievementId>, Constable

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

    • LEVEL_1_COMPLETE

      public static final AchievementId LEVEL_1_COMPLETE
    • LEVEL_2_COMPLETE

      public static final AchievementId LEVEL_2_COMPLETE
    • ADRENALINE_RUSH

      public static final AchievementId ADRENALINE_RUSH
    • STAMINA_MASTER

      public static final AchievementId STAMINA_MASTER
  • Method Details

    • values

      public static AchievementId[] 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 AchievementId 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