Enum Constant and Description |
---|
ARMOR
Armor shop.
|
BOOK
Book shop.
|
FOOD
Food shop / delicatessen.
|
GEM
Gem and jewelry shop.
|
GENERAL
General shop.
|
LIGHT
Light shop.
|
POTION
Potion shop.
|
SHOP
Unknown shop.
|
TEMPLE
Only marked around the altar.
|
TOOL
Tool shop.
|
WAND
Wand shop.
|
WEAPON
Weapon shop.
|
Modifier and Type | Method and Description |
---|---|
Keyword |
getKeyword() |
static RoomType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoomType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoomType SHOP
public static final RoomType TEMPLE
public static final RoomType GENERAL
public static final RoomType ARMOR
public static final RoomType BOOK
public static final RoomType POTION
public static final RoomType WEAPON
public static final RoomType FOOD
public static final RoomType GEM
public static final RoomType WAND
public static final RoomType TOOL
public static final RoomType LIGHT
public static RoomType[] values()
for (RoomType c : RoomType.values()) System.out.println(c);
public static RoomType 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()