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 startNode
PathNode array of PathNode Returns:
Type Description Array.<Grid> array of Grid -
get navigation from here(current) to here(destination)
Name Type Description destinationInfo
Object Name Type Description current
TerrainGrid start point of the grid destination
TerrainGrid destination point of the grid Returns:
Type Description Array.<Grid> array of Grid