Enum PuzzleSwapPattern
- java.lang.Object
-
- java.lang.Enum<PuzzleSwapPattern>
-
- net.runelite.client.plugins.puzzlesolver.solver.PuzzleSwapPattern
-
- All Implemented Interfaces:
Serializable
,Comparable<PuzzleSwapPattern>
public enum PuzzleSwapPattern extends Enum<PuzzleSwapPattern>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getModX()
Modifier for X coordinateint
getModY()
Modifier for Y coordinateint[]
getPoints()
Points used for swaps relative to locValstatic PuzzleSwapPattern
valueOf(String name)
Returns the enum constant of this type with the specified name.static PuzzleSwapPattern[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROTATE_LEFT_UP
public static final PuzzleSwapPattern ROTATE_LEFT_UP
-
ROTATE_LEFT_DOWN
public static final PuzzleSwapPattern ROTATE_LEFT_DOWN
-
ROTATE_RIGHT_UP
public static final PuzzleSwapPattern ROTATE_RIGHT_UP
-
ROTATE_RIGHT_DOWN
public static final PuzzleSwapPattern ROTATE_RIGHT_DOWN
-
ROTATE_UP_LEFT
public static final PuzzleSwapPattern ROTATE_UP_LEFT
-
ROTATE_UP_RIGHT
public static final PuzzleSwapPattern ROTATE_UP_RIGHT
-
ROTATE_DOWN_LEFT
public static final PuzzleSwapPattern ROTATE_DOWN_LEFT
-
ROTATE_DOWN_RIGHT
public static final PuzzleSwapPattern ROTATE_DOWN_RIGHT
-
LAST_PIECE_ROW
public static final PuzzleSwapPattern LAST_PIECE_ROW
-
LAST_PIECE_COLUMN
public static final PuzzleSwapPattern LAST_PIECE_COLUMN
-
SHUFFLE_UP_RIGHT
public static final PuzzleSwapPattern SHUFFLE_UP_RIGHT
-
SHUFFLE_UP_LEFT
public static final PuzzleSwapPattern SHUFFLE_UP_LEFT
-
SHUFFLE_UP_BELOW
public static final PuzzleSwapPattern SHUFFLE_UP_BELOW
-
SHUFFLE_UP_ABOVE
public static final PuzzleSwapPattern SHUFFLE_UP_ABOVE
-
-
Method Detail
-
values
public static PuzzleSwapPattern[] 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 (PuzzleSwapPattern c : PuzzleSwapPattern.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PuzzleSwapPattern valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getPoints
public int[] getPoints()
Points used for swaps relative to locVal
-
getModX
public int getModX()
Modifier for X coordinate
-
getModY
public int getModY()
Modifier for Y coordinate
-
-