Struct PlatformerGraphHeuristic
Simple heuristic provider for PlatformerGraph
Implements
Namespace: AnyPath.Graphs.PlatformerGraph
Assembly: AnyPath.dll
Syntax
public struct PlatformerGraphHeuristic : IHeuristicProvider<PlatformerGraphLocation>
Methods
SetGoal(PlatformerGraphLocation)
Gets called by A* before the algorithm begins, keep track of the goal internally.
Declaration
public void SetGoal(PlatformerGraphLocation goal)
Parameters
| Type | Name | Description |
|---|---|---|
| PlatformerGraphLocation | goal |