Enum Class BirdFlight
- All Implemented Interfaces:
Serializable,Comparable<BirdFlight>,Constable
Enumeration of Quetzal Bird Flight destinations in Varlamore.
BirdFlight represents the Quetzal bird transportation network in the Varlamore region. Players use a Quetzal Whistle to summon birds for transportation between unlocked destinations.
Default Destinations
- Civitas illa Fortis - Main city hub
- The Teomat - Northern temple area
- Sunset Coast - Western coastal area
- Hunter Guild - Guild location
- Aldarin - Southern town
- Quetzacalli Gorge - Canyon area
- Tal Teklan - Ancient ruins
- Auburnvale - Forest area
Unlockable Destinations
Some destinations require discovery via varbit flags:
- Cam Torum Entrance
- Colossal Wyrm Remains
- Outer Fortis
- Fortis Colosseum
- Salvager Overlook
- Kastori
Usage Example
BirdFlight destination = BirdFlight.HUNTER_GUILD;
if (destination.canUse()) {
IWidget widget = destination.getWidget();
// Select destination
}
// Get last used destination
BirdFlight lastDest = BirdFlight.getLastDestination();
- 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 ConstantDescriptionSouthern town (always unlocked).Forest area (always unlocked).Cam Torum entrance (requires discovery via varbit 9955).Main city hub (always unlocked).Colossal Wyrm area (requires discovery via varbit 9956).Fortis Colosseum (requires discovery via varbit 9958).Hunter Guild location (always unlocked).Kastori area (requires discovery via varbit 17757).Outer Fortis area (requires discovery via varbit 9957).Canyon area (always unlocked).Salvager Overlook (requires discovery via varbit 11379).Western coastal area (always unlocked).Ancient ruins (always unlocked).Northern temple area (always unlocked). -
Method Summary
Modifier and TypeMethodDescriptionbooleancanUse()Checks if the player can use this bird flight destination.Gets all available bird flight routes as Transport objects.static BirdFlightGets the last bird flight destination that was used.Gets the widget for selecting this destination from the bird flight interface.static BirdFlightReturns the enum constant of this class with the specified name.static BirdFlight[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CIVITAS_ILLA_FORTIS
Main city hub (always unlocked). -
THE_TEOMAT
Northern temple area (always unlocked). -
SUNSET_COAST
Western coastal area (always unlocked). -
HUNTER_GUILD
Hunter Guild location (always unlocked). -
CAM_TORUM_ENTRANCE
Cam Torum entrance (requires discovery via varbit 9955). -
COLOSSAL_WYRM_REMAINS
Colossal Wyrm area (requires discovery via varbit 9956). -
OUTER_FORTIS
Outer Fortis area (requires discovery via varbit 9957). -
FORTIS_COLOSSEUM
Fortis Colosseum (requires discovery via varbit 9958). -
ALDARIN
Southern town (always unlocked). -
QUETZACALLI_GORGE
Canyon area (always unlocked). -
SALVAGER_OVERLOOK
Salvager Overlook (requires discovery via varbit 11379). -
TAL_TEKLAN
Ancient ruins (always unlocked). -
AUBURNVALE
Forest area (always unlocked). -
KASTORI
Kastori area (requires discovery via varbit 17757).
-
-
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
-
getBirdFlightTransports
Gets all available bird flight routes as Transport objects.Creates transports for every destination-to-destination combination where both the source and target are usable by the player.
- Returns:
- list of Transport objects for all usable bird flight routes
-
getLastDestination
Gets the last bird flight destination that was used.Reads the LAST_BIRD_TRANSPORT varbit to determine the most recently selected destination.
- Returns:
- the last used BirdFlight destination, or null if none
-
canUse
public boolean canUse()Checks if the player can use this bird flight destination.Destinations are usable if they have been discovered (varbit check) or have no discovery requirement (always unlocked).
- Returns:
- true if the player has unlocked/discovered this destination
-
getWidget
Gets the widget for selecting this destination from the bird flight interface.- Returns:
- the widget for this destination from the Quetzal interface
-