Enum Constant and Description |
---|
ADJACENT
Navigate to nearest tile adjacent to the target.
|
EXPLORED
Only navigate through tiles that were already seen or walked.
|
NO_AUTONAV
Don't use the autonavigation (_) command.
|
NO_DIG
Don't use digging tools.
|
NO_FIGHT
Don't path through tiles containing hostile monsters (seen or remembered).
|
NO_LEVITATION
Don't use levitation items.
|
NO_TRAPS
Avoid all traps.
|
PREFER_ITEMS
Prefer to step on tiles with new items.
|
UP
For interlevel navigation.
|
WALKING
Don't use any actions except Move to reach the target.
|
Modifier and Type | Method and Description |
---|---|
Keyword |
getKeyword() |
static NavOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NavOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NavOption WALKING
public static final NavOption ADJACENT
public static final NavOption EXPLORED
public static final NavOption NO_TRAPS
public static final NavOption NO_DIG
public static final NavOption NO_LEVITATION
public static final NavOption PREFER_ITEMS
ITile.hasNewItems()
public static final NavOption NO_AUTONAV
public static final NavOption NO_FIGHT
public static final NavOption UP
public static NavOption[] values()
for (NavOption c : NavOption.values()) System.out.println(c);
public static NavOption 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 nullpublic Keyword getKeyword()