Extends
Methods
-
getCorrectPath (startNode)Array.<Grid>
-
get an array of grid that should navigate a correct path, return empty array if there is no correct path
Name Type Description startNodePathNode array of PathNode Returns:
Type Description Array.<Grid> array of Grid -
get navigation from here(current) to here(destination)
Name Type Description destinationInfoObject Name Type Description currentTerrainGrid start point of the grid destinationTerrainGrid destination point of the grid Returns:
Type Description Array.<Grid> array of Grid