Package net.storm.api.game
Enum Class HouseLocation
- All Implemented Interfaces:
Serializable,Comparable<HouseLocation>,Constable
Represents the possible locations where a player-owned house (POH) can be built.
Each location has an associated world point representing the portal entrance and a varbit index value used for tracking the player's house location setting.
House locations have different Construction level requirements to relocate to:
- Rimmington - Level 1 (default)
- Taverley - Level 10
- Pollnivneach - Level 20
- Hosidius - Level 25
- Rellekka - Level 30
- Brimhaven - Level 40
- Yanille - Level 50
- Prifddinas - Level 70 (requires Song of the Elves)
- Aldarin - Level 30 (requires Varlamore)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAldarin house portal location (Varlamore).Brimhaven house portal location (Karamja).Hosidius house portal location (Great Kourend).Pollnivneach house portal location (Kharidian Desert).Prifddinas house portal location (Tirannwn).Rellekka house portal location (Fremennik Province).Rimmington house portal location.Taverley house portal location.Yanille house portal location. -
Method Summary
Modifier and TypeMethodDescriptionstatic HouseLocationReturns the enum constant of this class with the specified name.static HouseLocation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RIMMINGTON
Rimmington house portal location. The default starting house location requiring Construction level 1. -
TAVERLY
Taverley house portal location. Requires Construction level 10 to relocate. -
POLLNIVEACH
Pollnivneach house portal location (Kharidian Desert). Requires Construction level 20 to relocate. -
RELLEKKA
Rellekka house portal location (Fremennik Province). Requires Construction level 30 to relocate. -
BRIMHAVEN
Brimhaven house portal location (Karamja). Requires Construction level 40 to relocate. -
YANILLE
Yanille house portal location. Requires Construction level 50 to relocate. -
HOSIDIUS
Hosidius house portal location (Great Kourend). Requires Construction level 25 to relocate. -
PRIFDDINAS
Prifddinas house portal location (Tirannwn). Requires Construction level 70 and completion of Song of the Elves to relocate. -
ALDARIN
Aldarin house portal location (Varlamore). Requires Construction level 30 to relocate.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-