public static enum SimpleEntity.SimpleEntityType extends Enum<SimpleEntity.SimpleEntityType>
Modifier and Type | Method and Description |
---|---|
static SimpleEntity.SimpleEntityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleEntity.SimpleEntityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleEntity.SimpleEntityType VECTOR
public static final SimpleEntity.SimpleEntityType WEAPON
public static final SimpleEntity.SimpleEntityType ENGINE
public static SimpleEntity.SimpleEntityType[] values()
for (SimpleEntity.SimpleEntityType c : SimpleEntity.SimpleEntityType.values()) System.out.println(c);
public static SimpleEntity.SimpleEntityType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null