Enum Class AimLimit
- All Implemented Interfaces:
Serializable, Comparable<AimLimit>, Constable
Enum used for common targeting limitations (or lack thereof, in the case of AimLimit.FREE ). AimLimit.ORTHOGONAL will
limit single targets or the centers/aimed-at-cells of AOE effects to cells directly, north, south, east or west of
the user. AimLimit.DIAGONAL does the same but for northeast, southeast, southwest, or northwest. AimLimit.EIGHT_WAY
limits the same things, but is less restrictive, allowing all cells AimLimit.ORTHOGONAL does as well as all cells
AimLimit.DIAGONAL allows. AimLimit.FREE allows all cells within any range limit an ability may have.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
-
Enum Constant Details
-
FREE
-
ORTHOGONAL
-
DIAGONAL
-
EIGHT_WAY
-
-
Field Details
-
ALL
-
-
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
-