Class PuzzleSolver
- java.lang.Object
-
- net.runelite.client.plugins.puzzlesolver.solver.PuzzleSolver
-
-
Field Summary
Fields Modifier and Type Field Description static int
BLANK_TILE_VALUE
static int
DIMENSION
-
Constructor Summary
Constructors Constructor Description PuzzleSolver(Pathfinder pathfinder, PuzzleState startState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPosition()
PuzzleState
getStep(int stepIdx)
int
getStepCount()
boolean
hasExceededWaitDuration()
boolean
hasFailed()
boolean
hasSolution()
void
run()
void
setPosition(int position)
-
-
-
Field Detail
-
DIMENSION
public static final int DIMENSION
- See Also:
- Constant Field Values
-
BLANK_TILE_VALUE
public static final int BLANK_TILE_VALUE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PuzzleSolver
public PuzzleSolver(Pathfinder pathfinder, PuzzleState startState)
-
-
Method Detail
-
getStep
public PuzzleState getStep(int stepIdx)
-
getStepCount
public int getStepCount()
-
hasSolution
public boolean hasSolution()
-
getPosition
public int getPosition()
-
setPosition
public void setPosition(int position)
-
hasExceededWaitDuration
public boolean hasExceededWaitDuration()
-
hasFailed
public boolean hasFailed()
-
-