SteeringStuff
Enum SteeringType
java.lang.Object
java.lang.Enum<SteeringType>
SteeringStuff.SteeringType
- All Implemented Interfaces:
- Serializable, Comparable<SteeringType>
public enum SteeringType
- extends Enum<SteeringType>
- implements Serializable
The enum of the types of the steerings. Each type has its name color and order. But the navigation layer doesn't use these values. (But for instance the SteeringGui does.)
- Author:
- Marki
OBSTACLE_AVOIDANCE
public static final SteeringType OBSTACLE_AVOIDANCE
PEOPLE_AVOIDANCE
public static final SteeringType PEOPLE_AVOIDANCE
TARGET_APPROACHING
public static final SteeringType TARGET_APPROACHING
PATH_FOLLOWING
public static final SteeringType PATH_FOLLOWING
WALL_FOLLOWING
public static final SteeringType WALL_FOLLOWING
LEADER_FOLLOWING
public static final SteeringType LEADER_FOLLOWING
WALK_ALONG
public static final SteeringType WALK_ALONG
TRIANGLE
public static final SteeringType TRIANGLE
STICK_TO_PATH
public static final SteeringType STICK_TO_PATH
values
public static SteeringType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (SteeringType c : SteeringType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SteeringType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getCollection
public static LinkedList<SteeringType> getCollection()
getColor
public Color getColor()
getName
public String getName()
getOrder
public int getOrder()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.