public enum ObjectKind extends java.lang.Enum<ObjectKind>
Enum Constant and Description |
---|
CULTURAL_FEATURE
Cultural Feature
|
ENVIRONMENTAL_OBJECT
Environmental Object
|
OBSTACLE
Obstacle
|
OBSTACLE_BREACH
Obstacle Breach
|
OBSTACLE_MARKER
Obstacle Marker
|
OTHER
Other
|
PASSAGEWAY
Passageway
|
PREPARED_POSITION
Prepared Position
|
TACTICAL_SMOKE
Tactical Smoke
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
static int |
getEnumBitWidth() |
static ObjectKind |
getEnumForValue(int i) |
int |
getMarshalledSize() |
int |
getValue() |
void |
marshal(java.nio.ByteBuffer buff) |
void |
marshal(java.io.DataOutputStream dos) |
static ObjectKind |
unmarshalEnum(java.nio.ByteBuffer buff) |
static ObjectKind |
unmarshalEnum(java.io.DataInputStream dis) |
static ObjectKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ObjectKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectKind OTHER
public static final ObjectKind OBSTACLE
public static final ObjectKind PREPARED_POSITION
public static final ObjectKind CULTURAL_FEATURE
public static final ObjectKind PASSAGEWAY
public static final ObjectKind TACTICAL_SMOKE
public static final ObjectKind OBSTACLE_MARKER
public static final ObjectKind OBSTACLE_BREACH
public static final ObjectKind ENVIRONMENTAL_OBJECT
public static ObjectKind[] values()
for (ObjectKind c : ObjectKind.values()) System.out.println(c);
public static ObjectKind 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 nullpublic int getValue()
public java.lang.String getDescription()
public static int getEnumBitWidth()
public static ObjectKind getEnumForValue(int i)
public void marshal(java.io.DataOutputStream dos) throws java.io.IOException
java.io.IOException
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public static ObjectKind unmarshalEnum(java.io.DataInputStream dis) throws java.lang.Exception
java.lang.Exception
public static ObjectKind unmarshalEnum(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public int getMarshalledSize()