public enum FixedObject extends Enum<FixedObject>
EnvironmentModel
.EnvironmentModel.Version
is properly set.Enum Constant and Description |
---|
OUR_LOWER_CORNER |
OUR_LOWER_POST |
OUR_UPPER_CORNER |
OUR_UPPER_POST |
THEIR_LOWER_CORNER |
THEIR_LOWER_POST |
THEIR_UPPER_CORNER |
THEIR_UPPER_POST |
Modifier and Type | Field and Description |
---|---|
private static Map<String,FixedObject> |
namesInServerMessages |
private static Map<FixedObject,Vector3D> |
positions_0_6_2 |
private static Map<FixedObject,Vector3D> |
positions_0_6_5 |
Modifier and Type | Method and Description |
---|---|
static FixedObject |
fromServerId(String id)
Returns fixed object from server by specified string id.
|
Vector3D |
getAbsolutePosition()
Returns absolute position of fixed object.
|
static Vector3D |
ourPostMiddle() |
static Vector3D |
theirPostMiddle() |
static FixedObject |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FixedObject[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FixedObject OUR_LOWER_CORNER
public static final FixedObject OUR_UPPER_CORNER
public static final FixedObject OUR_UPPER_POST
public static final FixedObject OUR_LOWER_POST
public static final FixedObject THEIR_UPPER_CORNER
public static final FixedObject THEIR_LOWER_CORNER
public static final FixedObject THEIR_UPPER_POST
public static final FixedObject THEIR_LOWER_POST
private static Map<FixedObject,Vector3D> positions_0_6_5
private static Map<FixedObject,Vector3D> positions_0_6_2
private static Map<String,FixedObject> namesInServerMessages
public static FixedObject[] values()
for (FixedObject c : FixedObject.values()) System.out.println(c);
public static FixedObject 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 nullpublic Vector3D getAbsolutePosition()
public static FixedObject fromServerId(String id)
id
- public static Vector3D ourPostMiddle()
public static Vector3D theirPostMiddle()