com.planet_ink.coffee_mud.Items.interfaces
Enum RawMaterial.ResourceFlag
java.lang.Object
java.lang.Enum<RawMaterial.ResourceFlag>
com.planet_ink.coffee_mud.Items.interfaces.RawMaterial.ResourceFlag
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<RawMaterial.ResourceFlag>
- Enclosing interface:
- RawMaterial
public static enum RawMaterial.ResourceFlag
- extends java.lang.Enum<RawMaterial.ResourceFlag>
Enums that set certain category flags on a resource,
such as whether it is a fish type, or a berry type
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
BERRY
public static final RawMaterial.ResourceFlag BERRY
FISH
public static final RawMaterial.ResourceFlag FISH
WOODY
public static final RawMaterial.ResourceFlag WOODY
values
public static RawMaterial.ResourceFlag[] 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 (RawMaterial.ResourceFlag c : RawMaterial.ResourceFlag.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RawMaterial.ResourceFlag 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 name
java.lang.NullPointerException
- if the argument is null