public enum HaveOption extends Enum<HaveOption>
Enum Constant and Description |
---|
BAGGED
Also examine containers in main inventory.
|
BLESSED
Only items known to be blessed.
|
CAN_REMOVE
Only items that are not currently in use or are not blocked by any cursed items.
|
CAN_USE
Only items that are currently in use or are not blocked by any cursed items.
|
CURSED
Only items known to be cursed.
|
IN_USE
Only items currently worn or wielded.
|
KNOW_BUC
Only items with known BUC status.
|
NO_CAN_REMOVE
Complement of
CAN_REMOVE . |
NO_CAN_USE
Complement of
CAN_USE . |
NONBLESSED
Only items not known to be blessed.
|
NONCURSED
Only items not known to be cursed.
|
SAFE_BUC
|
UNSAFE_BUC
Complement of
SAFE_BUC . |
WORN
Only items currently worn.
|
Modifier and Type | Method and Description |
---|---|
Keyword |
getKeyword() |
static HaveOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HaveOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HaveOption NONCURSED
public static final HaveOption NONBLESSED
public static final HaveOption BLESSED
public static final HaveOption CURSED
public static final HaveOption KNOW_BUC
public static final HaveOption SAFE_BUC
public static final HaveOption UNSAFE_BUC
SAFE_BUC
.public static final HaveOption IN_USE
public static final HaveOption WORN
public static final HaveOption CAN_USE
public static final HaveOption NO_CAN_USE
CAN_USE
.public static final HaveOption CAN_REMOVE
public static final HaveOption NO_CAN_REMOVE
CAN_REMOVE
.public static final HaveOption BAGGED
public static HaveOption[] values()
for (HaveOption c : HaveOption.values()) System.out.println(c);
public static HaveOption 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()