public static enum LoqueNavigator.Stage extends Enum<LoqueNavigator.Stage>
| Enum Constant and Description |
|---|
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.
|
| Modifier and Type | Field and Description |
|---|---|
boolean |
failure
Whether the navigation has failed.
|
boolean |
teleport
We're going through the teleport.
|
boolean |
terminated
Whether the nagivation is terminated.
|
| Modifier and Type | Method and Description |
|---|---|
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(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.
|
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
public boolean terminated
public boolean failure
public boolean teleport
public static LoqueNavigator.Stage[] values()
for (LoqueNavigator.Stage c : LoqueNavigator.Stage.values()) System.out.println(c);
public static LoqueNavigator.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 nameNullPointerException - if the argument is nullprotected abstract LoqueNavigator.Stage next()
protected static LoqueNavigator.Stage FirstMoverStage()
protected static LoqueNavigator.Stage TeleporterStage()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.