public enum FollowMode extends java.lang.Enum<FollowMode>
| Enum Constant and Description |
|---|
MOVETO
The follower will move toward the target's position, plus the offest, at a given Velocity.
|
STICKY
The follower will stick with the target entity at the offset from the target's position.
|
| Modifier and Type | Method and Description |
|---|---|
static FollowMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FollowMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FollowMode STICKY
public static final FollowMode MOVETO
public static FollowMode[] values()
for (FollowMode c : FollowMode.values()) System.out.println(c);
public static FollowMode 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 namejava.lang.NullPointerException - if the argument is null