public enum CollisionRule extends java.lang.Enum<CollisionRule>
| Enum Constant and Description |
|---|
always
|
never
|
pushOtherTeams
|
pushOwnTeam
|
| Modifier and Type | Method and Description |
|---|---|
static CollisionRule |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CollisionRule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollisionRule always
public static final CollisionRule pushOtherTeams
public static final CollisionRule pushOwnTeam
public static final CollisionRule never
public static CollisionRule[] values()
for (CollisionRule c : CollisionRule.values()) System.out.println(c);
public static CollisionRule 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 name
java.lang.NullPointerException - if the argument is null