SteeringProperties
Enum SteeringProperties.BehaviorType

Package class diagram package SteeringProperties.BehaviorType
java.lang.Object
  extended by java.lang.Enum<SteeringProperties.BehaviorType>
      extended by SteeringProperties.SteeringProperties.BehaviorType
All Implemented Interfaces:
Serializable, Comparable<SteeringProperties.BehaviorType>
Enclosing class:
SteeringProperties

public static enum SteeringProperties.BehaviorType
extends Enum<SteeringProperties.BehaviorType>

These types are especially for SteeringGui or other similar aplication. They distinguish the type of behavior to show user features of the basic bahavior (just reimplemented steerings of Craig W. Reynolds), advanced behavior, etc. For other usage of this steering library use the type OWN (which is also default), which allows to set any values you want. BASIC type sets the advanced features false, 0 etc. ADVANCED type sets the full behavior with values of atributes best for majority of situations. OWN doesn't change anything, but the SteeringGui sets all the properties editable. (Even if the BASIC type is set, it allows you to change and use some advanced features.)


Enum Constant Summary
ADVANCED
           
BASIC
           
OWN
           
 
Method Summary
static SteeringProperties.BehaviorType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SteeringProperties.BehaviorType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BASIC

public static final SteeringProperties.BehaviorType BASIC

ADVANCED

public static final SteeringProperties.BehaviorType ADVANCED

OWN

public static final SteeringProperties.BehaviorType OWN
Method Detail

values

public static SteeringProperties.BehaviorType[] 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 (SteeringProperties.BehaviorType c : SteeringProperties.BehaviorType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SteeringProperties.BehaviorType 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


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.