public static enum BoidSpecies.Parameter extends Enum<BoidSpecies.Parameter>
| Enum Constant and Description |
|---|
ADD_SPECIES_NAME_IN_UI_CLASS |
ANGLE_OF_VIEW |
ATTRACTION_FACTOR |
COUNT |
DIRECTION_FACTOR |
FEAR_FACTOR |
INERTIA |
MAX_NEIGHBORHOOD |
MAX_SPEED |
MIN_SPEED |
REPULSION_FACTOR |
SPEED_FACTOR |
VIEW_ZONE |
| Modifier and Type | Method and Description |
|---|---|
static BoidSpecies.Parameter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoidSpecies.Parameter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoidSpecies.Parameter COUNT
public static final BoidSpecies.Parameter ANGLE_OF_VIEW
public static final BoidSpecies.Parameter VIEW_ZONE
public static final BoidSpecies.Parameter SPEED_FACTOR
public static final BoidSpecies.Parameter MAX_SPEED
public static final BoidSpecies.Parameter MIN_SPEED
public static final BoidSpecies.Parameter DIRECTION_FACTOR
public static final BoidSpecies.Parameter ATTRACTION_FACTOR
public static final BoidSpecies.Parameter REPULSION_FACTOR
public static final BoidSpecies.Parameter INERTIA
public static final BoidSpecies.Parameter FEAR_FACTOR
public static final BoidSpecies.Parameter ADD_SPECIES_NAME_IN_UI_CLASS
public static final BoidSpecies.Parameter MAX_NEIGHBORHOOD
public static BoidSpecies.Parameter[] values()
for (BoidSpecies.Parameter c : BoidSpecies.Parameter.values()) System.out.println(c);
public static BoidSpecies.Parameter 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 nullCopyright © 2015. All rights reserved.