public enum CollisionRule extends Enum<CollisionRule>
| Enum Constant and Description |
|---|
ALWAYS |
NEVER |
PUSH_OTHER_TEAMS |
PUSH_OWN_TEAM |
| Modifier and Type | Method and Description |
|---|---|
static CollisionRule |
valueOf(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 NEVER
public static final CollisionRule PUSH_OTHER_TEAMS
public static final CollisionRule PUSH_OWN_TEAM
public static CollisionRule[] values()
for (CollisionRule c : CollisionRule.values()) System.out.println(c);
public static CollisionRule 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 © 2020. All rights reserved.