Class PathfindingProcess
Describes a set of PathfindingRequest
to be executed and a specified final task.
Inheritance
System.Object
PathfindingProcess
Namespace: AlchemyBow.Navigation.BackgroundProcessing
Assembly: AlchemyBow.Navigation.dll
Syntax
public sealed class PathfindingProcess : IBackgroundCommand, ICommand
Constructors
| Improve this Doc View SourcePathfindingProcess(Dictionary<Object, PathfindingRequest>, NavigationSurface[], Action)
Creates a new instance of the PathfindingProcess class.
Declaration
public PathfindingProcess(Dictionary<object, PathfindingRequest> requests, NavigationSurface[] layers, Action onJoin)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.Object, PathfindingRequest> | requests | The requests to compute |
NavigationSurface[] | layers | The layers available in the system. |
System.Action | onJoin | What to do when finished. |
Methods
| Improve this Doc View SourceExecute()
Computes all requests.
Declaration
public void Execute()
OnJoin()
Invokes the final task.
Declaration
public void OnJoin()