A* Pathfinding Project
4.3.7
The A* Pathfinding Project for Unity 3D
|
Container for all rules in a grid graph. More...
Container for all rules in a grid graph.
Classes | |
class | Context |
Context for when scanning or updating a graph. More... | |
Public Member Functions | |
void | Add (GridGraphRule.Pass rule, System.Action< Context > action) |
void | DisposeUnmanagedData () |
bool | ExecuteRule (GridGraphRule.Pass rule, Context context) |
void | Rebuild () |
void | RebuildIfNecessary () |
Public Attributes | |
List< GridGraphRule > | rules = new List<GridGraphRule>() |
List of all rules. More... | |
Private Member Functions | |
long | Hash () |
Private Attributes | |
List< System.Action< Context > > [] | callbacks |
long | lastHash |
void Add | ( | GridGraphRule.Pass | rule, |
System.Action< Context > | action | ||
) |
void DisposeUnmanagedData | ( | ) |
bool ExecuteRule | ( | GridGraphRule.Pass | rule, |
Context | context | ||
) |
|
private |
void Rebuild | ( | ) |
void RebuildIfNecessary | ( | ) |
|
private |
|
private |
List<GridGraphRule> rules = new List<GridGraphRule>() |
List of all rules.