Enum Class LevelType

java.lang.Object
java.lang.Enum<LevelType>
rekit.persistence.level.LevelType
All Implemented Interfaces:
Serializable, Comparable<LevelType>, Constable

public enum LevelType extends Enum<LevelType>
The type of a level.
Author:
Dominik Fuchss
  • Enum Constant Details

    • Infinite_Fun

      public static final LevelType Infinite_Fun
      Infinite level.
    • Level_of_the_Day

      public static final LevelType Level_of_the_Day
      Level of the day.
    • Arcade

      public static final LevelType Arcade
      Arcade level.
    • Boss_Rush

      public static final LevelType Boss_Rush
      Boss Rush Mode.
    • Test

      public static final LevelType Test
      Type for tests.
  • Method Details

    • values

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