Class PuzzleSolver
- java.lang.Object
-
- net.runelite.client.plugins.puzzlesolver.solver.PuzzleSolver
-
-
Field Summary
Fields Modifier and Type Field Description static intBLANK_TILE_VALUEstatic intDIMENSION
-
Constructor Summary
Constructors Constructor Description PuzzleSolver(Pathfinder pathfinder, PuzzleState startState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetPosition()PuzzleStategetStep(int stepIdx)intgetStepCount()booleanhasExceededWaitDuration()booleanhasFailed()booleanhasSolution()voidrun()voidsetPosition(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()
-
-