public enum SteeringType extends Enum<SteeringType> implements Serializable
Enum Constant and Description |
---|
LEADER_FOLLOWING |
OBSTACLE_AVOIDANCE |
PATH_FOLLOWING |
PEOPLE_AVOIDANCE |
STICK_TO_PATH |
TARGET_APPROACHING |
TRIANGLE |
WALK_ALONG |
WALL_FOLLOWING |
Modifier and Type | Method and Description |
---|---|
static LinkedList<SteeringType> |
getCollection() |
Color |
getColor() |
String |
getName() |
int |
getOrder() |
static SteeringType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SteeringType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SteeringType OBSTACLE_AVOIDANCE
public static final SteeringType PEOPLE_AVOIDANCE
public static final SteeringType TARGET_APPROACHING
public static final SteeringType PATH_FOLLOWING
public static final SteeringType WALL_FOLLOWING
public static final SteeringType LEADER_FOLLOWING
public static final SteeringType WALK_ALONG
public static final SteeringType TRIANGLE
public static final SteeringType STICK_TO_PATH
public static SteeringType[] values()
for (SteeringType c : SteeringType.values()) System.out.println(c);
public static SteeringType 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 static LinkedList<SteeringType> getCollection()
public Color getColor()
public String getName()
public int getOrder()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.