|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||

java.lang.Objectjava.lang.Enum<NavMeshNavigator.Stage>
cz.cuni.amis.pogamut.ut2004.agent.navigation.navmesh.pathfollowing.NavMeshNavigator.Stage
public static enum NavMeshNavigator.Stage
All stages the navigation can come to.
| Enum Constant Summary | |
|---|---|
AWAITING_MOVER
Waiting for a mover to arrive. |
|
CANCELED
Navigation cancelled by outer force. |
|
COMPLETED
Navigation finished successfully. |
|
CRASHED
Navigation failed because of troublesome obstacles. |
|
NAVIGATING
Navigating along the path. |
|
REACHING
Running directly to the destination. |
|
RIDING_MOVER
Waiting for a mover to ferry. |
|
TELEPORT
We're going through the teleport. |
|
TIMEOUT
Navigation timeout reached. |
|
| Field Summary | |
|---|---|
boolean |
failure
Whether the navigation has failed. |
boolean |
teleport
We're going through the teleport. |
boolean |
terminated
Whether the nagivation is terminated. |
| Method Summary | |
|---|---|
protected static NavMeshNavigator.Stage |
FirstMoverStage()
Returns the first step of mover sequence. |
protected abstract NavMeshNavigator.Stage |
next()
Retreives the next step of navigation sequence the stage belongs to. |
protected static NavMeshNavigator.Stage |
TeleporterStage()
Returns the first step of the teleporter sequence. |
static NavMeshNavigator.Stage |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NavMeshNavigator.Stage[] |
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 |
|---|
public static final NavMeshNavigator.Stage REACHING
public static final NavMeshNavigator.Stage NAVIGATING
public static final NavMeshNavigator.Stage AWAITING_MOVER
public static final NavMeshNavigator.Stage RIDING_MOVER
public static final NavMeshNavigator.Stage CANCELED
public static final NavMeshNavigator.Stage TIMEOUT
public static final NavMeshNavigator.Stage CRASHED
public static final NavMeshNavigator.Stage COMPLETED
public static final NavMeshNavigator.Stage TELEPORT
| Field Detail |
|---|
public boolean terminated
public boolean failure
public boolean teleport
| Method Detail |
|---|
public static NavMeshNavigator.Stage[] values()
for (NavMeshNavigator.Stage c : NavMeshNavigator.Stage.values()) System.out.println(c);
public static NavMeshNavigator.Stage valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullprotected abstract NavMeshNavigator.Stage next()
protected static NavMeshNavigator.Stage FirstMoverStage()
protected static NavMeshNavigator.Stage TeleporterStage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||