Interface AStarStorage
- All Known Implementing Classes:
PackedAStarStorage, SimpleAStarStorage
public interface AStarStorage
The storage for an
AStarMachine. Controls the open and closed sets.-
Method Summary
Modifier and TypeMethodDescriptionvoidClose a givenAStarNode, moving it from the open set to the closed set.voidClose a givenAStarNode, moving or adding it from the frontier to the open set.Returns the best node from the frontier and removes it.booleanshouldExamine(AStarNode neighbour) Returns whether to examine a givenAStarNode.
-
Method Details
-
close
-
getBestNode
-
open
-
removeBestNode
-
shouldExamine
-