|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<LoqueNavigator.Stage>
cz.cuni.amis.pogamut.ut2004.agent.navigation.loquenavigator.LoqueNavigator.Stage
public static enum LoqueNavigator.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 LoqueNavigator.Stage |
FirstMoverStage()
Returns the first step of mover sequence. |
protected abstract LoqueNavigator.Stage |
next()
Retreives the next step of navigation sequence the stage belongs to. |
protected static LoqueNavigator.Stage |
TeleporterStage()
Returns the first step of the teleporter sequence. |
static LoqueNavigator.Stage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static LoqueNavigator.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 LoqueNavigator.Stage REACHING
public static final LoqueNavigator.Stage NAVIGATING
public static final LoqueNavigator.Stage AWAITING_MOVER
public static final LoqueNavigator.Stage RIDING_MOVER
public static final LoqueNavigator.Stage CANCELED
public static final LoqueNavigator.Stage TIMEOUT
public static final LoqueNavigator.Stage CRASHED
public static final LoqueNavigator.Stage COMPLETED
public static final LoqueNavigator.Stage TELEPORT
Field Detail |
---|
public boolean terminated
public boolean failure
public boolean teleport
Method Detail |
---|
public static LoqueNavigator.Stage[] values()
for (LoqueNavigator.Stage c : LoqueNavigator.Stage.values()) System.out.println(c);
public static LoqueNavigator.Stage 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 nullprotected abstract LoqueNavigator.Stage next()
protected static LoqueNavigator.Stage FirstMoverStage()
protected static LoqueNavigator.Stage TeleporterStage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |