public static enum VehicleEntity.Speed extends java.lang.Enum<VehicleEntity.Speed>
| Modifier and Type | Field and Description |
|---|---|
float |
modifier |
| Modifier and Type | Method and Description |
|---|---|
static VehicleEntity.Speed |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VehicleEntity.Speed[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VehicleEntity.Speed SLOW
public static final VehicleEntity.Speed MEDIUM
public static final VehicleEntity.Speed FAST
public static VehicleEntity.Speed[] values()
for (VehicleEntity.Speed c : VehicleEntity.Speed.values()) System.out.println(c);
public static VehicleEntity.Speed valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null