Enum Class MoodleType

java.lang.Object
java.lang.Enum<MoodleType>
zombie.characters.Moodles.MoodleType
All Implemented Interfaces:
Serializable, Comparable<MoodleType>, Constable

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

  • Method Details

    • values

      public static MoodleType[] 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 MoodleType 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
    • FromIndex

      public static MoodleType FromIndex(int index)
    • FromString

      public static MoodleType FromString(String str)
    • getDisplayName

      public static String getDisplayName(MoodleType MT, int Level)
    • getDescriptionText

      public static String getDescriptionText(MoodleType MT, int Level)
    • GoodBadNeutral

      public static int GoodBadNeutral(MoodleType MT)
    • ToIndex

      public static int ToIndex(MoodleType MT)