public interface iFirstTheBest
Modifier and Type | Method and Description |
---|---|
void |
drawPath(HeuristicPathTree heuristicPathTree)
Method to draw the path once the algorithm has finished.
|
void |
moveCharacter(int posY,
int posX)
Declaration of the method to move the character, both logically and for the tree.
|
void |
setColorToField(int posY,
int posX)
Method to set color to a specific tile.
|
void |
showFailureMessage()
Method to show a failure message if the algorithm is not able to find the last tile.
|
void moveCharacter(int posY, int posX)
posY
- actual Y coordinate.posX
- actual X coordinate.void setColorToField(int posY, int posX)
posY
- actual Y coordinate.posX
- actual X coordinate.void drawPath(HeuristicPathTree heuristicPathTree)
heuristicPathTree
- the tree for guidance.void showFailureMessage()