Enum Class CharterShip.ShipLocation
java.lang.Object
java.lang.Enum<CharterShip.ShipLocation>
net.storm.api.movement.pathfinder.model.CharterShip.ShipLocation
- All Implemented Interfaces:
Serializable,Comparable<CharterShip.ShipLocation>,Constable
- Enclosing class:
CharterShip
Enumeration of charter ship port locations.
Each ShipLocation represents a port where charter ships dock, with its world coordinates and display name.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionGets the widget for selecting this destination from the charter ship interface.static CharterShip.ShipLocationReturns the enum constant of this class with the specified name.static CharterShip.ShipLocation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALDARIN
-
BRIMHAVEN
-
CATHERBY
-
CIVITAS_ILLA_FORTIS
-
CORSAIR_COVE
-
DEEPFIN_POINT
-
LANDS_END
-
MUSA_POINT
-
MOS_LE_HARMLESS
-
PANDEMONIUM
-
PORT_KHAZARD
-
PORT_PHASMATYS
-
PORT_ROBERTS
-
PORT_SARIM
-
PORT_TYRAS
-
SHIPYARD
-
SUNSET_COAST
-
PORT_PISCARILIUS
-
PRIFDDINAS
-
-
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
-
getWidget
Gets the widget for selecting this destination from the charter ship interface.- Returns:
- the widget for this destination, or null if interface is not open
-