Enum FairyRing
- java.lang.Object
-
- java.lang.Enum<FairyRing>
-
- com.runemate.game.api.hybrid.local.hud.interfaces.FairyRing
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FairyRing.Dial
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @Nullable FairyRing
byCode(@NonNull java.lang.String code)
Look up the FairyRing instance represented by the providedcode
.static boolean
confirm()
Presses the "Confirm" button on the combination configuration screen.static @Nullable GameObject
getNearestObject()
Returns the nearest Fairy ring GameObject, if one is available.Coordinate
getPosition()
static boolean
isConfigurationOpen()
Whether the combination configuration screen is open.boolean
isPreviousDestination()
boolean
select()
java.lang.String
toString()
static FairyRing
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FairyRing[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AIQ
public static final FairyRing AIQ
-
AIR
public static final FairyRing AIR
-
AJR
public static final FairyRing AJR
-
AJS
public static final FairyRing AJS
-
AKP
public static final FairyRing AKP
-
AKQ
public static final FairyRing AKQ
-
AKS
public static final FairyRing AKS
-
ALP
public static final FairyRing ALP
-
ALQ
public static final FairyRing ALQ
-
ALS
public static final FairyRing ALS
-
BIP
public static final FairyRing BIP
-
BIQ
public static final FairyRing BIQ
-
BIS
public static final FairyRing BIS
-
BJP
public static final FairyRing BJP
-
BJS
public static final FairyRing BJS
-
BKP
public static final FairyRing BKP
-
BKR
public static final FairyRing BKR
-
BLP
public static final FairyRing BLP
-
BLR
public static final FairyRing BLR
-
CIP
public static final FairyRing CIP
-
CIQ
public static final FairyRing CIQ
-
CIR
public static final FairyRing CIR
-
CIS
public static final FairyRing CIS
-
CJR
public static final FairyRing CJR
-
CKR
public static final FairyRing CKR
-
CKS
public static final FairyRing CKS
-
CLP
public static final FairyRing CLP
-
CLR
public static final FairyRing CLR
-
CLS
public static final FairyRing CLS
-
DIP
public static final FairyRing DIP
-
DIS
public static final FairyRing DIS
-
DJP
public static final FairyRing DJP
-
DJR
public static final FairyRing DJR
-
DKP
public static final FairyRing DKP
-
DKR
public static final FairyRing DKR
-
DKS
public static final FairyRing DKS
-
DLQ
public static final FairyRing DLQ
-
DLR
public static final FairyRing DLR
-
BLS
public static final FairyRing BLS
-
-
Method Detail
-
values
public static FairyRing[] 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 (FairyRing c : FairyRing.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FairyRing valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isPreviousDestination
public boolean isPreviousDestination()
-
select
public boolean select()
- Returns:
- true if the code combination is selected and the confirm button is pressed.
-
byCode
@Nullable public static @Nullable FairyRing byCode(@NonNull @NonNull java.lang.String code)
Look up the FairyRing instance represented by the providedcode
.
-
confirm
public static boolean confirm()
Presses the "Confirm" button on the combination configuration screen.
-
isConfigurationOpen
public static boolean isConfigurationOpen()
Whether the combination configuration screen is open.
-
getNearestObject
@Nullable public static @Nullable GameObject getNearestObject()
Returns the nearest Fairy ring GameObject, if one is available.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<FairyRing>
-
getPosition
public Coordinate getPosition()
-
-