Package gg.xp.xivsupport.gui.map.omen
Enum Class OmenLocationType
- All Implemented Interfaces:
Serializable
,Comparable<OmenLocationType>
,Constable
Describes where in relation to the caster and target an omen should be drawn
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDraw at the caster using the caster's facing angleDraw at the caster, but facing the target (think baited cleaves where the NPC doesn't turn)Draw at the target. -
Method Summary
Modifier and TypeMethodDescriptionstatic OmenLocationType
Returns the enum constant of this class with the specified name.static OmenLocationType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CASTER
Draw at the caster using the caster's facing angle -
CASTER_FACE_TARGET
Draw at the caster, but facing the target (think baited cleaves where the NPC doesn't turn)If no target is available, behaves the same as
CASTER
-
TARGET_IF_AVAILABLE
Draw at the target. If no target is available, behaves the same asCASTER
-
-
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
-