Package org.rspeer.game.house
Enum House.Location
- java.lang.Object
-
- java.lang.Enum<House.Location>
-
- org.rspeer.game.house.House.Location
-
- All Implemented Interfaces:
Serializable
,Comparable<House.Location>
- Enclosing class:
- House
public static enum House.Location extends Enum<House.Location>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BRIMHAVEN
HOSIDIUS
POLLNIVNEACH
PRIFDDINAS
RELLEKKA
RIMMINGTON
TAVERLEY
YANILLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Position
getPosition()
static House.Location
valueOf(String name)
Returns the enum constant of this type with the specified name.static House.Location[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RIMMINGTON
public static final House.Location RIMMINGTON
-
TAVERLEY
public static final House.Location TAVERLEY
-
POLLNIVNEACH
public static final House.Location POLLNIVNEACH
-
RELLEKKA
public static final House.Location RELLEKKA
-
BRIMHAVEN
public static final House.Location BRIMHAVEN
-
YANILLE
public static final House.Location YANILLE
-
PRIFDDINAS
public static final House.Location PRIFDDINAS
-
HOSIDIUS
public static final House.Location HOSIDIUS
-
-
Method Detail
-
values
public static House.Location[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (House.Location c : House.Location.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static House.Location valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getPosition
public Position getPosition()
-
-