Enum Class MapFormat

java.lang.Object
java.lang.Enum<MapFormat>
net.mtrop.doom.map.MapFormat
All Implemented Interfaces:
Serializable, Comparable<MapFormat>, java.lang.constant.Constable

public enum MapFormat extends Enum<MapFormat>
Enumeration of internal map format types.
Author:
Matthew Tropiano
  • Enum Constant Details

    • DOOM

      public static final MapFormat DOOM
      Format commonly used by Doom, Boom, and MBF/SMMU ports, plus Heretic and Strife.
    • HEXEN

      public static final MapFormat HEXEN
      Format commonly used by Hexen and ZDoom-derivative ports.
    • UDMF

      public static final MapFormat UDMF
      Format commonly used by all extensible ports.
  • Method Details

    • values

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