Package org.kikikan.deadbymoonlight.util
Enum PointCategory
- java.lang.Object
-
- java.lang.Enum<PointCategory>
-
- org.kikikan.deadbymoonlight.util.PointCategory
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PointCategory>
public enum PointCategory extends java.lang.Enum<PointCategory>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALTRUISM
BOLDNESS
BRUTALITY
DEVIOUSNESS
HUNTER
OBJECTIVES
SACRIFICE
SURVIVAL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getValue(PointCategory category)
static PointCategory
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PointCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OBJECTIVES
public static final PointCategory OBJECTIVES
-
SURVIVAL
public static final PointCategory SURVIVAL
-
ALTRUISM
public static final PointCategory ALTRUISM
-
BOLDNESS
public static final PointCategory BOLDNESS
-
BRUTALITY
public static final PointCategory BRUTALITY
-
DEVIOUSNESS
public static final PointCategory DEVIOUSNESS
-
HUNTER
public static final PointCategory HUNTER
-
SACRIFICE
public static final PointCategory SACRIFICE
-
-
Method Detail
-
values
public static PointCategory[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PointCategory c : PointCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PointCategory valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public static int getValue(PointCategory category)
-
-