Class AStarPathfinder
Inheritance
object
AStarPathfinder
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: InsaneScatterbrain
Syntax
public class AStarPathfinder
Methods
CalculatePath(Vector2Int, Vector2Int, Vector2Int, List<Vector2Int>, Func<Vector2Int, bool>, bool)
Declaration
public bool CalculatePath(Vector2Int start, Vector2Int goal, Vector2Int bounds, List<Vector2Int> path, Func<Vector2Int, bool> isTraversableTest = null, bool useHexCoords = false)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Vector2Int | start | |
UnityEngine.Vector2Int | goal | |
UnityEngine.Vector2Int | bounds | |
System.Collections.Generic.List<T><UnityEngine.Vector2Int> | path | |
System.Func<T, TResult><UnityEngine.Vector2Int, bool> | isTraversableTest | |
bool | useHexCoords |
Returns
Type | Description |
---|---|
bool |